/* ── FLOATING BTNS ── */
.floating-cta { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 99; }
.fab { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; text-decoration: none; font-size: 22px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform 0.2s; }
.fab:hover { transform: scale(1.1); }
.fab-wa    { background: #25d366; color: #fff; }
.fab-phone { background: #e74c3c; color: #fff; }
.fab-wa-bubble { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 50px; padding: 6px 14px 6px 6px; box-shadow: 0 4px 22px rgba(0,0,0,0.16); cursor: pointer; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; max-width: 260px; position: relative; }
.fab-wa-bubble:hover { transform: scale(1.03); box-shadow: 0 6px 28px rgba(0,0,0,0.22); }
.fab-wa-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; border: 2px solid #25D366; }
.fab-wa-text { flex: 1; }
.fab-wa-name { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.fab-wa-msg { font-size: 10px; color: #6b7280; margin-top: 1px; line-height: 1.3; }
.fab-wa-icon { width: 32px; height: 32px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fab-wa-icon i { color: #fff; font-size: 16px; }

/* ── FOOTER ── */
footer { background: #06192e; color: rgba(255,255,255,0.5); padding: 3rem 2.5rem 2rem; }
.footer-inner { max-width: 960px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.footer-slogan { font-style: italic; color: var(--green-mid); font-size: 13px; }
.footer-cedula { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--green-mid); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; font-size: 12px; text-align: center; }

/* ── BLOG PAGE ── */
.blog-page-header { background: var(--navy); padding: 4rem 2.5rem 3rem; position: relative; overflow: hidden; }
.blog-page-header::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(93,202,165,0.12) 1px, transparent 1px); background-size: 22px 22px; }
.blog-page-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0a2140 30%, transparent); }
.blog-page-header-inner { position: relative; max-width: 960px; margin: 0 auto; }
.blog-page-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3vw,2.5rem); color: #fff; font-weight: 600; margin-bottom: 0.5rem; }
.blog-page-sub { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 480px; line-height: 1.7; }

.blog-all-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.blog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.blog-filter-btn { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; font-size: 12px; font-weight: 500; color: var(--text2); cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s; }
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--green-light); color: var(--green); border-color: rgba(29,158,117,0.3); }

/* ── ARTICLE PAGE ── */
.article-header { background: var(--navy); padding: 4rem 2.5rem 3rem; position: relative; overflow: hidden; }
.article-header::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(93,202,165,0.1) 1px, transparent 1px); background-size: 22px 22px; }
.article-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0a2140 20%, transparent 70%); }
.article-header-inner { position: relative; max-width: 720px; margin: 0 auto; }
.article-back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; margin-bottom: 1.5rem; transition: color 0.2s; }
.article-back:hover { color: var(--green-mid); }
.article-tag-header { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; background: rgba(29,158,117,0.2); color: var(--green-mid); margin-bottom: 1rem; }
.article-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.2rem); color: #fff; font-weight: 600; line-height: 1.25; margin-bottom: 1rem; }
.article-meta-header { display: flex; gap: 1.5rem; font-size: 12px; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.article-meta-header i { font-size: 14px; vertical-align: -2px; margin-right: 4px; }

.article-body-wrap { max-width: 720px; margin: 0 auto; padding: 3rem 2.5rem; }
.article-body h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--text); margin: 2rem 0 0.8rem; font-weight: 600; }
.article-body h3 { font-size: 1.1rem; font-weight: 500; color: var(--text); margin: 1.5rem 0 0.6rem; }
.article-body p { font-size: 15px; color: var(--text2); line-height: 1.85; margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.article-body li { font-size: 15px; color: var(--text2); line-height: 1.8; margin-bottom: 0.4rem; }
.article-body strong { color: var(--text); font-weight: 500; }
.article-highlight { background: var(--green-light); border-left: 3px solid var(--green); border-radius: 0; padding: 1rem 1.2rem; margin: 1.5rem 0; font-size: 14px; color: var(--text2); line-height: 1.7; }
.article-cta-box { background: var(--navy); border-radius: var(--radius); padding: 2rem; margin-top: 3rem; text-align: center; }
.article-cta-box h3 { font-family: 'Playfair Display', serif; color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.article-cta-box p { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 1.2rem; }
.article-author { display: flex; align-items: center; gap: 1rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; margin-top: 2rem; }
.article-author-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.2rem; flex-shrink: 0; }
.article-author-name { font-size: 14px; font-weight: 500; color: var(--text); }
.article-author-role { font-size: 12px; color: var(--text3); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 3.5rem 1.2rem; }
  .hero { padding: 3.5rem 1.2rem 3rem; min-height: auto; }
  .hero-inner { flex-direction: column; gap: 2rem; }
  .hero-card { min-width: unset; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 3/2; }
  .services-star-grid { grid-template-columns: repeat(2,1fr); }
  .services-secondary-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-row: auto; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .blog-all-grid { grid-template-columns: 1fr; }
  .article-body-wrap { padding: 2rem 1.2rem; }
}
@media (max-width: 900px) {
  .services-star-grid { grid-template-columns: repeat(3,1fr); }
  .blog-all-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .blog-page-header,
  .article-header {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
  .blog-page-title,
  .article-title {
    letter-spacing: 0;
  }
  .blog-page-sub,
  .article-body p,
  .article-body li {
    font-size: 14px;
    line-height: 1.78;
  }
  .blog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .blog-filters::-webkit-scrollbar { display: none; }
  .blog-filter-btn {
    flex: 0 0 auto;
    min-height: 38px;
  }
  .article-meta-header {
    gap: 0.55rem;
  }
  .article-cta-box {
    padding: 1.5rem 1.2rem;
  }
  .article-author {
    gap: 0.85rem;
  }
  footer {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}

/* ── FIXES v5 ── */

/* Fix 3: scroll-margin para que el nav no tape las secciones */
section, .blog-page-header, .article-header {
  scroll-margin-top: 64px;
}

/* Fix 2 y 4: article-header — puntos completos + overlay mejorado */
.article-header {
  background: var(--navy);
  padding: 5rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.article-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(93,202,165,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.article-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,33,64,0.95) 0%, rgba(10,33,64,0.5) 60%, rgba(10,33,64,0.3) 100%);
  pointer-events: none;
}
.article-header-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* Fix 1: blog-page-header — puntos completos + overlay mejorado */
.blog-page-header {
  background: var(--navy);
  padding: 5rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.blog-page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(93,202,165,0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.blog-page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,33,64,0.92) 40%, rgba(10,33,64,0.4) 100%);
  pointer-events: none;
}
.blog-page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

/* Blog/article visual refresh */
section, .blog-page-header, .article-header { scroll-margin-top: clamp(64px, 6vw, 70px); }

.article-header {
  padding: clamp(4.25rem, 8vw, 6.5rem) clamp(1.2rem, 4vw, 3rem) clamp(3.6rem, 7vw, 5.2rem);
  min-height: clamp(430px, 58vh, 560px);
  display: flex;
  align-items: center;
  text-align: center;
}
.article-header::before {
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.article-header::after {
  background:
    radial-gradient(circle at 50% 44%, rgba(77,149,190,0.42) 0%, rgba(57,116,158,0.24) 28%, rgba(10,33,64,0.08) 54%, transparent 74%),
    linear-gradient(to right, rgba(10,33,64,0.88) 0%, rgba(57,116,158,0.7) 60%, rgba(10,33,64,0.75) 100%);
}
.article-header-inner {
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
}
.article-back {
  display: inline-flex;
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
}
.article-back:hover { color: #fff; }
.article-tag-header {
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.68rem, 1vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.38rem 0.85rem;
  background: rgba(57,116,158,0.72);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: clamp(1.1rem, 2vw, 1.4rem);
}
.article-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.85rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  text-shadow: 0 2px 18px rgba(10,33,64,0.35);
}
.article-meta-header {
  justify-content: center;
  gap: clamp(0.9rem, 3vw, 1.8rem);
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  color: rgba(255,255,255,0.72);
}
.article-meta-header span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta-header i { font-size: 1rem; color: rgba(255,255,255,0.68); margin-right: 0; }

.article-body-wrap {
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 2rem);
}
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  color: var(--navy);
  margin: clamp(2.7rem, 6vw, 3.8rem) 0 clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.8rem;
}
.article-body p {
  font-size: clamp(1.04rem, 1.5vw, 1.14rem);
  color: #334155;
  line-height: 1.95;
  margin-bottom: 1.35rem;
}
.article-body ul, .article-body ol { padding-left: 1.25rem; margin: 1rem 0 1.8rem; }
.article-body li {
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  color: #3f4d63;
  line-height: 1.85;
  margin-bottom: 0.7rem;
  padding-left: 0.25rem;
}
.article-body strong { color: var(--navy); font-weight: 700; }
.article-highlight {
  background: linear-gradient(135deg, #f4f8fb 0%, #eaf3f9 100%);
  border: 1px solid rgba(57,116,158,0.16);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  margin: clamp(2rem, 5vw, 2.8rem) 0;
  font-size: clamp(0.98rem, 1.4vw, 1.06rem);
  color: #334155;
  line-height: 1.8;
  box-shadow: 0 10px 30px rgba(10,33,64,0.04);
}
.article-cta-box {
  background: linear-gradient(135deg, #0a2140 0%, #12375f 100%);
  border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin-top: clamp(3rem, 7vw, 4rem);
  box-shadow: 0 18px 48px rgba(10,33,64,0.16);
}
.article-cta-box h3 {
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin-bottom: 0.65rem;
  font-weight: 800;
}
.article-cta-box p {
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  margin: 0 auto 1.4rem;
  max-width: 620px;
  line-height: 1.75;
}
.article-author {
  background: #fff;
  border: 1px solid rgba(57,116,158,0.12);
  border-radius: 14px;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  margin-top: clamp(2.3rem, 5vw, 3rem);
  box-shadow: 0 8px 28px rgba(10,33,64,0.05);
}
.article-author-avatar {
  background: var(--green-light);
  color: var(--green);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}
.article-author-name { font-size: 0.95rem; font-weight: 800; color: var(--navy); }
.article-author-role { font-size: 0.82rem; color: var(--text3); line-height: 1.5; }

@media (max-width: 700px) {
  .article-header {
    min-height: auto;
    padding-top: 4.2rem;
    padding-bottom: 3.2rem;
  }
  .article-title { font-size: clamp(1.9rem, 9vw, 2.45rem); line-height: 1.08; }
  .article-meta-header { flex-direction: column; gap: 0.55rem; }
  .article-author { align-items: flex-start; }
  .article-cta-box .btn { width: 100%; justify-content: center; }
  .floating-cta { right: 0.75rem; bottom: 0.75rem; gap: 0.55rem; }
  .fab { width: 44px; height: 44px; font-size: 19px; }
  .fab-wa-bubble { max-width: 230px; padding-right: 10px; }
  .fab-wa-name { font-size: 10.5px; }
}

@media (max-width: 600px) {
  .floating-cta {
    right: 0.85rem;
    bottom: 0.85rem;
  }
  .fab-phone {
    display: none;
  }
  .fab-wa-bubble {
    width: 58px;
    height: 58px;
    max-width: 58px;
    padding: 5px;
    border-radius: 50%;
    justify-content: center;
  }
  .fab-wa-avatar {
    width: 48px;
    height: 48px;
  }
  .fab-wa-text,
  .fab-wa-icon {
    display: none;
  }
}

@media (max-width: 600px) {
  .article-header {
    min-height: auto;
    padding: 4.1rem 1.35rem 3.1rem;
    align-items: flex-end;
    text-align: left;
  }
  .article-header-inner {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }
  .article-back {
    margin-bottom: 1rem;
  }
  .article-title {
    width: 100%;
    max-width: 330px;
    font-size: clamp(1.75rem, 8.8vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .article-meta-header {
    align-items: flex-start;
  }
  .article-body-wrap {
    width: 100%;
    max-width: 100%;
    padding: 2.3rem 1.35rem;
    overflow: hidden;
  }
  .article-body,
  .article-body p,
  .article-body h2,
  .article-body h3,
  .article-body li {
    max-width: 330px;
    overflow-wrap: break-word;
  }
}

/* Final article hero alignment: lighter editorial navy */
.article-header {
  margin-top: clamp(64px, 6vw, 70px);
  min-height: clamp(380px, 52vh, 520px);
  padding: clamp(3.2rem, 6vw, 5rem) clamp(1.35rem, 4vw, 3rem) clamp(2.8rem, 5vw, 4.2rem);
  background-color: #07182e;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  text-align: center;
  isolation: isolate;
}
.article-header::before {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  z-index: 1;
}
.article-header::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,14,29,0.62) 0%, rgba(7,25,48,0.38) 42%, rgba(4,14,29,0.44) 100%),
    linear-gradient(180deg, rgba(4,14,29,0.28) 0%, rgba(4,14,29,0.05) 46%, rgba(4,14,29,0.46) 100%);
}
.article-header-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  max-width: 980px;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.82);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.84rem, 1.15vw, 0.95rem);
  margin-bottom: 0;
  vertical-align: middle;
}
.article-back::after {
  content: '';
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.38);
  margin-left: 0.8rem;
}
.article-tag-header {
  display: inline-flex;
  align-items: center;
  margin-left: 0.8rem;
  margin-bottom: 0;
  border-radius: 999px;
  background: rgba(38,102,153,0.78);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  padding: 0.4rem 0.9rem;
}
.article-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.65rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 980px;
  margin: clamp(1.2rem, 2.6vw, 1.65rem) auto 0.9rem;
  text-shadow: 0 2px 18px rgba(4,14,29,0.34);
}
.article-excerpt-header {
  max-width: 760px;
  margin: 0 auto clamp(1rem, 2.2vw, 1.35rem);
  color: rgba(255,255,255,0.86);
  font-size: clamp(0.98rem, 1.55vw, 1.18rem);
  line-height: 1.65;
  text-shadow: 0 1px 14px rgba(4,14,29,0.26);
}
.article-meta-header {
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.45rem);
  color: rgba(255,255,255,0.78);
  font-size: clamp(0.85rem, 1.15vw, 0.95rem);
}
.article-meta-header span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta-header i { color: rgba(255,255,255,0.76); }
.article-body-wrap { padding-top: clamp(2.4rem, 5vw, 4rem); }
@media(max-width:600px){
  .article-header {
    min-height: min(58vh, 470px);
    padding: 3.8rem 1.35rem 2.6rem;
    align-items: flex-end;
    text-align: left;
  }
  .article-header::after {
    background:
      linear-gradient(180deg, rgba(4,14,29,0.32) 0%, rgba(7,25,48,0.16) 38%, rgba(4,14,29,0.76) 100%),
      linear-gradient(90deg, rgba(4,14,29,0.6) 0%, rgba(10,33,64,0.2) 58%, rgba(4,14,29,0.24) 100%);
  }
  .article-header-inner { text-align: left; }
  .article-back { font-size: 0.88rem; }
  .article-back::after { margin-left: 0.55rem; height: 16px; }
  .article-tag-header { margin-left: 0.55rem; font-size: 0.66rem; padding: 0.35rem 0.72rem; }
  .article-title { max-width: 340px; font-size: clamp(1.85rem, 8.4vw, 2.35rem); line-height: 1.08; margin-left: 0; margin-right: 0; }
  .article-excerpt-header { max-width: 340px; margin-left: 0; margin-right: 0; font-size: 0.95rem; line-height: 1.58; }
  .article-meta-header { justify-content: flex-start; align-items: flex-start; flex-direction: column; gap: 0.55rem; }
}

/* Discreet cookie consent */
.cookie-consent {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 120;
  display: none;
  align-items: center;
  gap: 0.75rem;
  max-width: 360px;
  padding: 0.72rem 0.78rem 0.72rem 0.9rem;
  border: 1px solid rgba(38,102,153,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 12px 34px rgba(10,33,64,0.12);
  backdrop-filter: blur(12px) saturate(1.05);
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
}
.cookie-consent.show { display: flex; }
.cookie-consent button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #266699;
  color: #fff;
  padding: 0.45rem 0.75rem;
  font-family: 'Montserrat', 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cookie-consent button:hover { background: #1f5a89; transform: translateY(-1px); }
@media (max-width: 600px) {
  .cookie-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
    padding: 0.68rem 0.72rem;
    font-size: 11.5px;
  }
}
/* Cookie consent options */
.cookie-consent {
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 430px;
  padding: 0.85rem 0.9rem;
  gap: 0.55rem;
}
.cookie-consent span {
  flex: 1 1 220px;
  line-height: 1.35;
}
.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex: 0 0 auto;
  flex-wrap: wrap;
}
.cookie-consent .cookie-deny,
.cookie-consent .cookie-more {
  background: rgba(10, 33, 64, 0.07);
  color: #0a2140;
  box-shadow: none;
}
.cookie-consent .cookie-deny:hover,
.cookie-consent .cookie-more:hover {
  background: rgba(10, 33, 64, 0.12);
  transform: translateY(-1px);
}
.cookie-more-panel {
  display: none;
  flex: 1 1 100%;
  position: relative;
  margin-top: 0.15rem;
  padding: 0.65rem 2rem 0.65rem 0.75rem;
  border: 1px solid rgba(31, 97, 141, 0.14);
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.96);
  color: #42516a;
  font-size: 0.79rem;
  line-height: 1.45;
}
.cookie-more-panel.show { display: block; }
.cookie-more-close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-consent {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
  .cookie-consent span { flex-basis: 100%; }
  .cookie-actions { width: 100%; }
}
/* Nav + floating CTA alignment with index */
nav,
#navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 68px !important;
  padding: 0 3rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,33,64,0.97) !important;
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(255,255,255,0.07) !important;
  box-shadow: none;
  z-index: 200 !important;
}
.nav-brand {
  font-family: 'Montserrat', 'DM Sans', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.01em !important;
  line-height: 1 !important;
  white-space: nowrap;
}
.nav-brand span { color: #fff !important; }
.nav-links,
#navLinks {
  display: flex;
  align-items: center;
  gap: 0.2rem !important;
}
.nav-links a,
#navLinks a {
  font-size: 13px !important;
  color: rgba(255,255,255,0.68) !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  line-height: 1.2 !important;
}
.nav-links a:hover,
#navLinks a:hover { color: #fff !important; background: rgba(255,255,255,0.07) !important; }
.nav-links a[style*="color:#fff"],
#navLinks a[style*="color:#fff"] { color: #fff !important; font-weight: 700 !important; }
.nav-cta {
  background: #266699 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}
.nav-hamburger { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.blog-header,
.article-header { margin-top: 68px !important; }
section,
.blog-page-header,
.article-header { scroll-margin-top: 68px !important; }
.floating-cta {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 12px !important;
  z-index: 180 !important;
}
.fab {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  box-shadow: 0 16px 34px rgba(10,33,64,0.16) !important;
}
.fab-phone { background: #f04a3a !important; color: #fff !important; }
.fab-wa-bubble {
  height: 64px !important;
  max-width: 284px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 7px 14px 7px 7px !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: 0 16px 38px rgba(10,33,64,0.14) !important;
  overflow: visible !important;
}
.fab-wa-avatar {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  border: 3px solid #19c965 !important;
  object-fit: cover !important;
  object-position: top center !important;
  flex: 0 0 auto !important;
}
.fab-wa-text { min-width: 0 !important; flex: 1 1 auto !important; }
.fab-wa-name {
  font-family: 'Montserrat', 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #0a2140 !important;
  white-space: nowrap !important;
}
.fab-wa-msg { font-size: 11px !important; line-height: 1.2 !important; color: #6b7280 !important; white-space: nowrap !important; }
.fab-wa-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}
.fab-wa-icon i { color: #fff !important; font-size: 18px !important; }
@media (max-width: 900px) {
  nav,
  #navbar { height: 66px !important; padding: 0 1.25rem !important; }
  .nav-brand { max-width: calc(100vw - 82px); overflow: hidden; text-overflow: ellipsis; }
  .nav-links,
  #navLinks {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 66px !important;
    left: 0;
    right: 0;
    background: rgba(10,33,64,0.98);
    padding: 0.9rem 1.25rem 1.1rem;
    gap: 0.2rem !important;
    border-top: 0.5px solid rgba(255,255,255,0.07);
  }
  .nav-links.open,
  #navLinks.open { display: flex; }
  .nav-links a,
  #navLinks a { min-height: 42px; display: flex; align-items: center; padding: 0.75rem 0 !important; }
  .nav-cta { justify-content: center; text-align: center; margin-top: 0.25rem; }
  .nav-hamburger { display: block !important; }
  .blog-header,
  .article-header { margin-top: 66px !important; }
}
@media (max-width: 600px) {
  .floating-cta { right: 0.85rem !important; bottom: 0.85rem !important; gap: 0.55rem !important; }
  .fab-phone { display: none !important; }
  .fab-wa-bubble {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    padding: 5px !important;
    border-radius: 50% !important;
    justify-content: center !important;
  }
  .fab-wa-avatar { width: 48px !important; height: 48px !important; }
  .fab-wa-text,
  .fab-wa-icon { display: none !important; }
}
/* Mobile polish for cookie buttons and hamburger fallback */
.nav-hamburger i { display: none; }
.nav-hamburger::before { content: '☰'; font-size: 26px; line-height: 1; color: #fff; }
@media (max-width: 600px) {
  .cookie-consent { padding: 0.72rem 0.72rem !important; }
  .cookie-actions { justify-content: flex-start !important; flex-wrap: wrap !important; gap: 0.35rem !important; }
  .cookie-consent button { padding: 0.4rem 0.62rem !important; font-size: 10.5px !important; }
}
.hamburger-bars { display: block; color: #fff; font-size: 26px; line-height: 1; font-weight: 700; }