/* CodeVizo modern service / SEO landing pages */
:root {
  --cv-navy: #020842;
  --cv-navy-soft: #0a1260;
  --cv-blue: #0044EB;
  --cv-blue-light: #3d6fff;
  --cv-text: #1a1f36;
  --cv-muted: #5c6478;
  --cv-bg: #f5f7fc;
  --cv-white: #ffffff;
  --cv-border: rgba(2, 8, 66, 0.08);
  --cv-radius: 14px;
  --cv-font: 'Outfit', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body.cv-service-page {
  margin: 0;
  font-family: var(--cv-font);
  color: var(--cv-text);
  background: var(--cv-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.cv-service-page a { color: var(--cv-blue); text-decoration: none; }
.cv-service-page a:hover { color: var(--cv-blue-light); }

/* Header */
.page-header-main {
  background: var(--cv-navy);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .page-header-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
  }
}

.page-header-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.page-header-nav .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-header-nav .menu a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.page-header-nav .menu a:hover { color: #a8c0ff; }

.page-header-actions { display: none; gap: 10px; }
@media (min-width: 992px) {
  .page-header-actions { display: flex; }
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.25s ease;
  white-space: nowrap;
}

.header-btn-contact {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.header-btn-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header-btn-call {
  background: linear-gradient(135deg, var(--cv-blue), var(--cv-blue-light));
  color: #fff;
}

.header-btn-call:hover {
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 68, 235, 0.35);
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  z-index: 1002;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
}

.mobile-nav-backdrop.show { display: block; }

.mobile-header-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-header-actions .header-btn { width: 100%; padding: 12px 18px; }

/* Fallback if Bootstrap display utilities are missing */
.page-header-nav.d-none { display: none; }
@media (min-width: 992px) {
  .page-header-nav.d-lg-flex { display: flex !important; }
  .mobile-nav-toggle.d-lg-none { display: none !important; }
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: flex; }
  .page-header-nav.d-lg-none {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--cv-navy);
    padding: 80px 24px 30px;
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .page-header-nav.d-lg-none.open { right: 0; }
  .page-header-nav .menu { flex-direction: column; gap: 0; }
  .page-header-nav .menu a { display: block; padding: 14px 0; }
}

/* Hero */
.cv-hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 68, 235, 0.45), transparent 55%),
    linear-gradient(145deg, var(--cv-navy) 0%, var(--cv-navy-soft) 55%, #061a7a 100%);
  color: #fff;
  padding: 88px 0 100px;
  overflow: hidden;
}

.cv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.cv-hero .container { position: relative; z-index: 1; }

.cv-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8c0ff;
  margin-bottom: 14px;
}

.cv-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 720px;
}

.cv-hero .lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 0 28px;
}

.cv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}

.cv-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.cv-btn-light {
  background: #fff;
  color: var(--cv-blue);
}

.cv-btn-light:hover {
  background: #eef2ff;
  color: var(--cv-navy);
}

.cv-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.cv-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cv-btn-primary {
  background: linear-gradient(135deg, var(--cv-blue), var(--cv-blue-light));
  color: #fff;
}

.cv-btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 68, 235, 0.35);
}

/* Sections */
.cv-section {
  padding: 72px 0;
}

.cv-section-alt { background: var(--cv-bg); }

.cv-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cv-navy);
  margin: 0 0 14px;
  line-height: 1.3;
}

.cv-section .section-lead {
  color: var(--cv-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 0 40px;
}

.cv-section p {
  color: var(--cv-muted);
  margin-bottom: 16px;
}

.cv-section .intro-text {
  max-width: 780px;
  font-size: 1.05rem;
}

/* SEO points grid */
.cv-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.cv-point {
  background: var(--cv-white);
  border: 1px solid var(--cv-border);
  border-radius: var(--cv-radius);
  padding: 24px;
  transition: 0.25s ease;
}

.cv-section-alt .cv-point {
  box-shadow: 0 4px 18px rgba(2, 8, 66, 0.04);
}

.cv-point:hover {
  border-color: rgba(0, 68, 235, 0.25);
  transform: translateY(-3px);
}

.cv-point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 68, 235, 0.1);
  color: var(--cv-blue);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.cv-point h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cv-navy);
  margin: 0 0 8px;
}

.cv-point p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cv-muted);
}

/* Process steps */
.cv-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.cv-step {
  position: relative;
  padding-top: 8px;
}

.cv-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(0, 68, 235, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.cv-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cv-navy);
  margin: 0 0 8px;
}

.cv-step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Related links */
.cv-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cv-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(0, 68, 235, 0.08);
  color: var(--cv-blue);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.cv-chip:hover {
  background: var(--cv-blue);
  color: #fff;
}

/* FAQ */
.cv-faq {
  max-width: 800px;
}

.cv-faq-item {
  border-bottom: 1px solid var(--cv-border);
  padding: 20px 0;
}

.cv-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cv-navy);
  margin: 0 0 8px;
}

.cv-faq-item p {
  margin: 0;
  font-size: 0.98rem;
}

/* CTA */
.cv-cta {
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(0, 68, 235, 0.35), transparent 50%),
    linear-gradient(135deg, var(--cv-navy), var(--cv-navy-soft));
  color: #fff;
  padding: 72px 0;
  text-align: center;
}

.cv-cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cv-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cv-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #131923;
  color: #fff;
  padding: 48px 0 28px;
}

.site-footer .footer-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer .footer-link:hover { color: #fff; }

.site-footer .footer-logo-img {
  width: 150px;
  height: auto;
  max-width: 150px;
  display: block;
  margin-bottom: 14px;
}

.site-footer h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }

.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 28px 0 20px;
}

.site-footer .copyright {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 100px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #fff;
  transform: scale(1.1);
}

.whatsapp-float svg {
  display: block;
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .cv-hero { padding: 64px 0 72px; }
  .cv-section { padding: 52px 0; }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 70px;
    right: 15px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
