:root {

  --brand:        #0f2a4a;
  --brand-rgb:    15, 42, 74;
  --brand-dark:   #0a1d34;
  --brand-light:  #eaf0f6;
  --accent:       #1f4e87;
  --accent-rgb:   31, 78, 135;
  --accent-dark:  #163a63;
  --accent-light: #dfe8f2;
  --steel:        #ffffff;
  --ink:          #0F172A;
  --muted:        #000000;
  --bg-soft:      #F1F5F9;
  --white:        #FFFFFF;
  --line:         #E2E8F0;


  --font-base: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;


  --radius:    18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .05);
  --shadow:    0 12px 34px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --transition: .25s ease;
}

* { scroll-behavior: smooth; }

html {
  overflow-x: clip;
  scrollbar-color: var(--brand) var(--bg-soft);
  scrollbar-width: thin;
}
body {
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: clip;
  width: 100%;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 999px;
  border: 3px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: #0a1d34;
  letter-spacing: -.01em;
}

a { text-decoration: none; transition: color var(--transition); }

img { max-width: 100%; height: auto; }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  margin-bottom: .75rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.text-brand  { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }

.btn {
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: .72rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: translateY(1px); }

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), .3);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn-outline-brand {
  border: 2px solid var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

.btn-light-soft {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
}
.btn-light-soft:hover { background: #fff; color: var(--brand); }

.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: .85rem;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar .topbar-item i { color: var(--steel); margin-right: .4rem; }
.topbar .social-link {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  margin-left: .35rem;
}
.topbar .social-link:hover { background: var(--accent); color: #fff; }

.navbar {
  background: #fff;
  padding: .85rem 0;
  box-shadow: var(--shadow-sm);
  transition: padding var(--transition), box-shadow var(--transition);
}
.navbar.navbar-scrolled { padding: .55rem 0; box-shadow: var(--shadow); }

.navbar-brand { font-weight: 800; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; padding-top: 0; padding-bottom: 0; }
.navbar-brand .brand-accent { color: var(--brand); }
.navbar-brand .brand-dot { color: var(--accent); }
.navbar-logo { height: 25px; width: auto; display: block; }
@media (max-width: 575.98px) { .navbar-logo { height: 22px; } }

.navbar .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--brand); }
.navbar .nav-link.active::before {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .15rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.navbar .dropdown-menu {
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .5rem;
  margin-top: .6rem;
}
.navbar .dropdown-item {
  border-radius: 8px;
  font-weight: 600;
  padding: .55rem .85rem;
  color: var(--ink);
}
.navbar .dropdown-item:hover { background: var(--brand-light); color: var(--brand); }

.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(1100px 480px at 85% -10%, var(--brand-light) 0%, transparent 60%),
    radial-gradient(900px 420px at 5% 110%, var(--accent-light) 0%, transparent 55%),
    var(--white);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.hero .hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 1.8rem;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.hero-badges .badge-item { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink); }
.hero-badges .badge-item i { color: var(--accent); font-size: 1.1rem; }

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .5;
}
.hero-visual .visual-icon { font-size: 5rem; position: relative; }

.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.feature-list li { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .7rem; color: var(--ink); font-weight: 600; }
.feature-list li i { color: var(--brand); margin-top: .2rem; flex: 0 0 auto; }

.article-detail { padding: 4rem 0; }
.article-body { max-width: 820px; margin: 0 auto; }

.article-detail h1,
.article-detail h2,
.article-detail h3,
.article-detail h4,
.article-detail h5,
.article-detail h6 {
  font-size: 1.4rem;
  color: #0f2a4a;
}

.article-detail strong { color: #0f2a4a; }

.article-detail .lead-q {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f2a4a;
  border-left: 3px solid #0f2a4a;
  padding-left: 1rem;
  margin: 0 0 1.8rem;
}

.article-detail ul { list-style: none; margin: 0 0 1.4rem; padding-left: 0; }
.article-detail ul li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; line-height: 1.7; }
.article-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #0f2a4a;
  transform: rotate(45deg);
}

.article-detail ol { list-style: none; counter-reset: article-ol; margin: 0 0 1.4rem; padding-left: 0; }
.article-detail ol li { counter-increment: article-ol; position: relative; padding-left: 2.8rem; margin-bottom: .8rem; line-height: 1.7; }
.article-detail ol li::before {
  content: counter(article-ol);
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

html { scroll-behavior: smooth; }

.detail-hero-figure { margin: 0; }
.detail-hero-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

.page-header {
  position: relative;
  background:
    radial-gradient(900px 360px at 85% -20%, rgba(255, 255, 255, .06) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 66px 0 58px;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1.5px, transparent 1.5px);
  background-size: 22px 22px; opacity: .5;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }

.breadcrumb-nav { font-size: .9rem; }
.breadcrumb-nav ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 0; margin: 0; }
.breadcrumb-nav li { display: flex; align-items: center; gap: .5rem; }
.page-header .breadcrumb-nav li { color: rgba(255, 255, 255, .8); }
.page-header .breadcrumb-nav li + li::before { content: "/"; color: rgba(255, 255, 255, .45); }
.page-header .breadcrumb-nav a { color: rgba(255, 255, 255, .8); }
.page-header .breadcrumb-nav a:hover { color: #fff; }
.page-header .breadcrumb-nav li[aria-current="page"] { color: #fff; font-weight: 600; }
.article-detail .breadcrumb-nav { margin-bottom: 1.5rem; }
.article-detail .breadcrumb-nav li { color: var(--accent); font-size: .85rem; }
.article-detail .breadcrumb-nav li + li::before { content: "/"; color: #cbd5e1; }
.article-detail .breadcrumb-nav a { color: var(--accent); }
.article-detail .breadcrumb-nav a:hover { color: var(--brand-dark); }
.article-detail .breadcrumb-nav li[aria-current="page"] { color: var(--muted); font-weight: 600; }
.page-header .ph-sub { color: rgba(255, 255, 255, .82); margin: .5rem 0 1rem; }

.stat-sub { font-size: .82rem; color: rgba(255, 255, 255, .72); margin-top: .4rem; }

.hero-floating-card {
  position: absolute;
  bottom: 22px; left: -26px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero-floating-card .fc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-light); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.hero-floating-card .fc-num { font-weight: 800; font-size: 1.15rem; line-height: 1; }
.hero-floating-card .fc-label { font-size: .8rem; color: var(--muted); }

.hero-slider { position: relative; }
.hero-slide {
  position: relative;
  min-height: 88vh;
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(var(--brand-rgb), .93) 0%,
    rgba(var(--brand-rgb), .74) 45%,
    rgba(var(--brand-rgb), .42) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide-content { max-width: 660px; padding: 70px 0; color: #fff; }
.hero-slide-content .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); }
.hero-slide-content h2 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin-bottom: 1.1rem;
}
.hero-slide-content .hero-lead {
  color: rgba(255, 255, 255, .88);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 1.9rem;
}

.hero-slide-content .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, .7);
  color: #fff;
}
.hero-slide-content .btn-outline-light:hover { background: #fff; color: var(--brand); border-color: #fff; }

.hero-slide-content .btn { font-size: .92rem; padding: .62rem 1.4rem; }

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 6%; opacity: .85; z-index: 3; }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 54px; height: 54px;
  background-color: rgba(255, 255, 255, .16);
  border-radius: 50%;
  background-size: 18px;
}
.hero-slider .carousel-indicators { margin-bottom: 1.8rem; z-index: 3; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, .5); border: 0; opacity: 1;
  transition: width var(--transition);
}
.hero-slider .carousel-indicators .active { background: #fff; width: 32px; border-radius: 6px; }

@media (max-width: 991.98px) {
  .hero-slide { min-height: 78vh; }
}
@media (max-width: 575.98px) {
  .hero-slide { min-height: 72vh; }
  .hero-slide-content { padding: 50px 0; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { display: none; }
}

.stats {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}
.stats .section-title { color: #fff; }
.stats .section-lead { color: rgba(255, 255, 255, .85); }
.stat-item { text-align: center; padding: 1rem; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.stat-num .unit { color: var(--steel); }
.stat-label { color: rgba(255, 255, 255, .8); font-weight: 600; margin-top: .5rem; }

.u-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.u-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 1.1rem;
  transition: background var(--transition), color var(--transition);
}
.u-card:hover .card-icon { background: var(--brand); color: #fff; }

.u-card h3, .u-card .card-title { font-size: 1.18rem; margin-bottom: .6rem; color: var(--brand); }
.u-card p { color: var(--muted); margin-bottom: 1rem; font-size: .96rem; }

.card-link {
  font-weight: 700;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card-link i { transition: transform var(--transition); }
.card-link:hover { color: var(--accent-dark); }
.card-link:hover i { transform: translateX(4px); }

.value-card .card-icon { background: var(--accent-light); color: var(--accent-dark); }
.value-card:hover .card-icon { background: var(--accent); color: #fff; }

.cards-carousel { position: relative; }
.cards-viewport {
  overflow: hidden;
  padding: 26px clamp(16px, 4vw, 56px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cards-viewport.grabbing { cursor: grabbing; }
.cards-track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.card-slide { flex: 0 0 auto; width: 80vw; }
@media (min-width: 576px) { .card-slide { width: 320px; } }

#ekibimiz .cards-track { justify-content: safe center; }
.card-slide > * { height: 100%; }

.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.4rem 1.5rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process-num {
  position: absolute;
  top: -22px; left: 1.4rem;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: .92rem; margin: 0; }

.steps-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}
@media (min-width: 576px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .steps-grid { grid-template-columns: repeat(5, 1fr); } }

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.2rem 1.4rem;
  text-align: center;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand-light); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
  transition: background .25s ease, color .25s ease;
}
.step-card:hover .step-icon { background: var(--brand); color: #fff; }
.step-num {
  position: absolute; top: 12px; right: 12px;
  width: 27px; height: 27px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff; font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.5rem 2rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(15, 42, 74, .12); border-color: var(--accent-light); }
.team-avatar {
  width: 130px; height: 130px; margin: 0 auto 1.3rem;
  border-radius: 50%; overflow: hidden;
  background: var(--brand-light);
  border: 3px solid transparent;
  transition: border-color .3s ease, transform .3s ease;
}
.team-card:hover .team-avatar {
  border-color: var(--brand);
  transform: scale(1.05);
}
.team-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.team-card:hover .team-avatar img { transform: scale(1.08); }
@supports not (object-fit: cover) {
  .team-avatar img { width: 100%; height: auto; }
}
.team-name {
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  margin-bottom: .35rem; letter-spacing: -.01em;
}
.team-role {
  font-size: .85rem; color: var(--accent); font-weight: 500;
  margin: 0; line-height: 1.4;
}
.step-card h3 { font-size: 1.04rem; margin-bottom: .35rem; }
.step-card p { font-size: .85rem; color: var(--muted); margin: 0; }

.cta-band {
  background: linear-gradient(120deg, var(--brand) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-icon { color: var(--accent); font-size: 1.8rem; margin-bottom: .8rem; }
.testimonial-card .stars { color: var(--accent); margin-bottom: .9rem; }
.testimonial-card p { color: var(--ink); font-size: 1.02rem; }
.testimonial-author { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; }
.testimonial-author .avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.testimonial-author .name { font-weight: 700; line-height: 1.2; }
.testimonial-author .role { font-size: .85rem; color: var(--muted); }

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 46px; height: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  opacity: 1;
  box-shadow: var(--shadow-sm);
}
.testimonial-carousel .carousel-control-prev { left: -10px; }
.testimonial-carousel .carousel-control-next { right: -10px; }
.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon { filter: invert(1); width: 18px; height: 18px; }
.testimonial-carousel .carousel-indicators { bottom: -52px; }
.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 9px; height: 9px; border-radius: 50%; background: var(--brand); border: 0;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.blog-thumb i { display: none; }
.blog-cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #fff; color: var(--brand);
  font-size: .72rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.blog-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; display: flex; align-items: center; gap: .4rem; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--muted); padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.article-meta i { color: var(--brand); }
.meta-sep { color: #cbd5e1; font-size: .7rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { color: var(--muted); font-size: .92rem; }
.blog-body .card-link { margin-top: auto; align-self: flex-start; }

#blogFilters {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  padding-bottom: 2px;
}
#blogFilters::-webkit-scrollbar { display: none; }
#blogFilters .btn { flex: 0 0 auto; white-space: nowrap; border: 2px solid var(--brand); }
#blogFilters .btn-outline-brand { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }
#blogFilters .btn-outline-brand:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

#blogFilters .btn:focus-visible { outline: none; box-shadow: 0 0 0 .2rem rgba(15, 42, 74, .25); }
#blogFilters .btn:focus:not(:focus-visible) { box-shadow: none; }

@media (min-width: 992px) { #blogFilters { justify-content: center; } }

.contact-info-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 2.4rem;
  height: 100%;
}
.contact-info-card h3 { color: #fff; }
.contact-line { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.4rem; }
.contact-line .ci-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .12); color: var(--steel);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-line .ci-label { font-size: .8rem; color: rgba(255,255,255,.7); }
.contact-line .ci-value { font-weight: 700; color: #fff; }
.contact-line a.ci-value:hover { color: var(--accent); }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: .75rem 1rem;
  background: var(--bg-soft);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(var(--brand-rgb), .12);
  background: #fff;
}
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }

.contact-method { display: block; color: var(--ink); text-decoration: none; }
.contact-method:hover { color: var(--ink); }
.contact-method .card-icon { display: flex; margin: 0 auto 1rem; }
.contact-method .cm-value { color: var(--brand); font-weight: 700; margin: 0; }

.contact-promises { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1rem; }
.contact-promises p { margin-bottom: .5rem; }
.contact-promises i { color: #fff; }

.faq-accordion {
  --bs-accordion-active-bg: var(--brand-light);
  --bs-accordion-active-color: var(--brand);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-color: var(--ink);
}
.faq-accordion .accordion-item { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: .75rem; }
.faq-accordion .accordion-button { font-weight: 700; }
.faq-accordion .accordion-body { color: var(--muted); }

.footer {
  background: #0B1220;
  color: #94a3b8;
  padding: 70px 0 0;
}
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer a { color: #94a3b8; transition: color var(--transition); }
.footer a:hover { color: #fff; }
.footer .footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer .footer-brand .brand-accent { color: var(--steel); }
.footer .footer-brand .brand-dot { color: var(--steel); }
.footer-logo { height: 25px; width: auto; filter: brightness(0) invert(1); }

.footer .text-accent { color: var(--steel) !important; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .65rem; }
.footer .footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06);
  margin-right: .4rem;
}
.footer .footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 50px; padding: 22px 0;
  font-size: .88rem;
}

.contact-widget {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.cw-fab {
  width: 64px; height: 64px; border-radius: 50%; border: 3px solid #fff;
  padding: 0; cursor: pointer; position: relative;
  background: var(--brand); box-shadow: 0 10px 26px rgba(15, 42, 74, .3);
  transition: transform var(--transition);
}
.cw-fab img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.cw-fab:hover { transform: scale(1.06); }
.cw-online {
  position: absolute; right: 2px; bottom: 2px; width: 15px; height: 15px;
  background: #25D366; border: 2.5px solid #fff; border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 42, 74, .25); z-index: 2;
}

.cw-fab::before,
.cw-fab::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55); pointer-events: none;
  animation: cwPulse 2.2s ease-out infinite;
}
.cw-fab::after { animation-delay: 1.1s; }
@keyframes cwPulse {
  0%   { transform: scale(.95); opacity: .75; }
  70%  { opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cw-fab::before, .cw-fab::after { animation: none; display: none; }
}
.cw-bubble {
  position: relative; max-width: 250px; background: #fff; color: var(--ink);
  font-size: .92rem; line-height: 1.45; padding: .85rem 2rem .85rem 1rem;
  border-radius: 14px 14px 4px 14px; box-shadow: 0 12px 30px rgba(15, 42, 74, .18);
  animation: cwIn .4s ease both;
}
.cw-bubble-wave { display: block; font-weight: 700; color: var(--brand); }
.cw-bubble-close {
  position: absolute; top: 5px; right: 8px; border: 0; background: none;
  font-size: 1.15rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.cw-panel {
  width: 290px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 42, 74, .25); animation: cwIn .25s ease both;
}
.cw-panel-head {
  background: var(--brand); color: #fff; padding: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.cw-avatar-sm {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .5); flex: 0 0 auto;
}
.cw-panel-head strong { display: block; font-size: .96rem; }
.cw-panel-head span { font-size: .78rem; opacity: .85; }
.cw-actions { padding: .85rem; display: flex; flex-direction: column; gap: .6rem; }
.cw-action {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem .9rem; border-radius: 11px; font-weight: 600; font-size: .92rem;
  transition: background var(--transition), transform var(--transition);
}
.cw-action i { font-size: 1.15rem; width: 22px; text-align: center; }
.cw-action:hover { transform: translateX(2px); }
.cw-wa { background: rgba(37, 211, 102, .12); color: #1a9e4b; }
.cw-wa:hover { background: rgba(37, 211, 102, .22); color: #1a9e4b; }
.cw-call { background: var(--brand-light); color: var(--brand); }
.cw-call:hover { background: #dce7f3; color: var(--brand); }
@keyframes cwIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }

@media (min-width: 1200px) {
  .col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

@media (max-width: 991.98px) {
  .section { padding: 64px 0; }
  .hero { padding: 70px 0 60px; text-align: center; }
  .hero .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-visual { margin-top: 2.5rem; max-width: 460px; margin-left: auto; margin-right: auto; }
  .hero-floating-card { left: 12px; }
  .navbar .nav-link.active::before { display: none; }
  .cta-band { text-align: center; padding: 2.4rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .cta-band, .contact-info-card, .contact-form-card { padding: 1.6rem; }
  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next { display: none; }
}

.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 42, 74, .55);
  display: flex; align-items: center; justify-content: center;
  animation: popupFadeIn .25s ease;
  padding: 1rem;
}
.popup-overlay:not([hidden]) { display: flex; }
@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.popup-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 2rem 1.6rem;
  max-width: 420px; width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15, 42, 74, .25);
  animation: popupScaleIn .25s cubic-bezier(.4,0,.2,1);
}
@keyframes popupScaleIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.popup-icon {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.popup-icon.popup-success {
  background: #d1fae5; color: #059669;
}
.popup-icon.popup-error {
  background: #fee2e2; color: #dc2626;
}
.popup-message {
  font-size: .95rem; color: var(--ink);
  margin-bottom: 1.4rem; line-height: 1.5;
  white-space: pre-line;
}
.popup-close {
  width: 100%;
}

.notfound-code {
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  max-width: 600px; width: calc(100% - 2rem);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(15, 42, 74, .15);
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  z-index: 9998; font-size: .92rem;
  animation: cookieSlideUp .4s ease;
}
.cookie-banner:not([hidden]) { display: flex; }
.cookie-banner p { margin: 0; color: var(--ink); line-height: 1.5; }
.cookie-banner p a { color: var(--accent); font-weight: 600; }
.cookie-banner .btn { white-space: nowrap; flex-shrink: 0; }
@keyframes cookieSlideUp {
  from { transform: translateX(-50%) translateY(100%); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
