:root {
  --navy: #0f1f3d;
  --royal-blue: #2d5be3;
  --sky: #7fc8ff;
  --light-bg: #f7f9fc;
  --text: #1c1c1c;
  --muted: #6b7280;
  --border: #e2e5ea;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 0 0 .5em; }
a { color: var(--royal-blue); text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.announcement-bar { background: var(--navy); color: #fff; text-align: center; padding: .6rem 1rem; font-size: .9rem; }

.topbar { background: var(--navy); color: #cfd8ea; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1.25rem; max-width: 1140px; margin: 0 auto; flex-wrap: wrap; gap: .5rem; }
.topbar-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-contact a, .topbar-contact span { display: inline-flex; align-items: center; gap: .4rem; color: #cfd8ea; }
.topbar-contact a:hover { color: #fff; }
.topbar-contact svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-actions { display: flex; align-items: center; gap: .6rem; }
.topbar-whatsapp { display: flex; align-items: center; gap: .4rem; background: var(--royal-blue); padding: .35rem .9rem; border-radius: 4px; color: #fff; font-weight: 600; }
.topbar-whatsapp:hover { background: #1f3d92; color: #fff; }
.topbar-whatsapp svg { width: 14px; height: 14px; }
.topbar-phone { display: flex; align-items: center; gap: .4rem; background: var(--royal-blue); padding: .35rem .9rem; border-radius: 4px; }
.topbar-phone a { color: #fff; font-weight: 600; }
.topbar-phone svg { width: 14px; height: 14px; color: #fff; }

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-contact { justify-content: center; }
}

.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.nav-inner { display: flex; align-items: stretch; }
.brand { display: flex; align-items: center; background: #fff; border-right: 1px solid var(--border); padding: 0 2.25rem; flex-shrink: 0; }
.brand img { height: 34px; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; padding: 0 2rem; flex: 1; }
.site-nav a { color: var(--text); font-weight: 500; }
.site-nav a:hover { color: var(--royal-blue); }
.nav-cta { display: flex; align-items: center; background: var(--navy); color: #fff; padding: 0 2rem; font-weight: 600; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--royal-blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: .4rem .8rem; font: inherit; margin: auto 1.25rem; }

.hero-slider { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #081428 100%); }
.hero-slider__network { position: absolute; inset: 0; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: .55; }
.hero-slider__network line { stroke: rgba(127, 200, 255, .28); stroke-width: 1; }
.hero-slider__network circle { fill: #7fc8ff; fill-opacity: .85; }
.hero-slider__network .node-pulse { animation: node-pulse 4.5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.hero-slider__network .node-pulse:nth-child(2n) { animation-delay: 1.1s; }
.hero-slider__network .node-pulse:nth-child(3n) { animation-delay: 2.3s; }
@keyframes node-pulse { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

.hero-slider-inner { position: relative; z-index: 2; padding: 6rem 6rem 5rem 1.25rem; width: 100%; max-width: 1140px; margin: 0 auto; text-align: left; }
.hero-slide { display: none; max-width: 620px; }
.hero-slide.is-active { display: block; animation: hero-fade .6s ease; }
@keyframes hero-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero-slide__eyebrow { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7fc8ff; margin-bottom: 1rem; }
.hero-slide h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: .75rem; }
.hero-slide .lead { font-size: 1.1rem; color: rgba(255, 255, 255, .82); max-width: 540px; margin: 0 0 2rem; }

/* Overlapping stat callout, bottom-right of the hero */
.hero-stat-card { position: absolute; right: 2rem; bottom: 2rem; z-index: 3; display: flex; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.hero-stat-item { background: var(--royal-blue); padding: 1.4rem 1.75rem; text-align: center; min-width: 130px; }
.hero-stat-item + .hero-stat-item { background: #1f3d92; }
.hero-stat-icon { display: flex; justify-content: center; margin-bottom: .4rem; color: #fff; }
.hero-stat-icon svg { width: 26px; height: 26px; }
.hero-stat-number { display: block; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.5rem; color: #fff; }
.hero-stat-label { display: block; font-size: .72rem; color: rgba(255, 255, 255, .85); margin-top: .2rem; }

/* Vertical dot navigation, right edge of the hero (Lofty-style) */
.hero-controls { position: absolute; right: 2rem; top: 45%; transform: translateY(-50%); flex-direction: column; gap: .6rem; z-index: 3; }
.hero-controls .hero-arrow { display: none; }
.hero-arrow { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; line-height: 1; transition: background .2s, border-color .2s; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--royal-blue); border-color: var(--royal-blue); outline: none; }
.hero-dots { display: flex; flex-direction: column; gap: .5rem; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .35); border: none; cursor: pointer; padding: 0; transition: width .25s ease, height .25s ease, background .25s ease; }
.hero-dot.is-active { background: #fff; width: 8px; height: 22px; border-radius: 4px; }
.hero-dot:focus-visible { outline: 2px solid #7fc8ff; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
  .node-pulse { animation: none; }
}

@media (max-width: 900px) {
  .hero-slider { min-height: auto; }
  .hero-slider-inner { padding: 3.5rem 1.25rem 8rem; text-align: left; }
  .hero-stat-card { position: static; margin-top: 2rem; box-shadow: none; }
  .hero-controls { position: static; transform: none; flex-direction: row; margin-top: 1.5rem; justify-content: flex-start; }
  .hero-controls .hero-arrow { display: flex; }
  .hero-dots { flex-direction: row; }
  .hero-dot.is-active { width: 22px; height: 8px; }
}

.stats-row { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--light-bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 2.5rem 1rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--navy); display: block; }
.stat-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .4rem; display: block; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2n) { border-left: 1px solid var(--border); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

.process-number { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 2rem; color: var(--royal-blue); opacity: .4; display: block; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: .95rem; }

.btn { display: inline-block; padding: .75rem 1.5rem; border-radius: 6px; font-weight: 500; cursor: pointer; border: none; }
.btn-primary { background: var(--royal-blue); color: #fff; }
.btn-secondary { background: transparent; border: 1px solid var(--royal-blue); color: var(--royal-blue); }

.section { padding: 4rem 0; }
.section-alt { background: var(--light-bg); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; color: var(--text); }
.card:hover { border-color: var(--royal-blue); }
.card img { width: 100%; border-radius: 6px; margin-bottom: 1rem; }
.card-featured { border-color: var(--royal-blue); box-shadow: 0 0 0 2px var(--royal-blue); }

.muted { color: var(--muted); font-size: .9rem; }

.job-list { display: flex; flex-direction: column; gap: 1rem; }
.job-item { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1.5rem; color: var(--text); }

.form { display: flex; flex-direction: column; gap: 1rem; max-width: 520px; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 500; }
.form input[type=text], .form input[type=email], .form input[type=url], .form input[type=password], .form input[type=number], .form textarea, .form select {
  padding: .6rem .75rem; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 1rem;
}

.flash { padding: 1rem 1.25rem; margin: 1rem auto; max-width: 1140px; border-radius: 6px; }
.flash-success { background: #e6f4ea; color: #1e7a34; }
.flash-error { background: #fdecea; color: #b3261e; }

.site-footer { background: var(--navy); color: #fff; padding: 3rem 0 1rem; margin-top: 3rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-logo { height: 32px; margin-bottom: .5rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: #cfd8ea; }
.newsletter-row { display: flex; gap: .5rem; margin-top: .5rem; }
.newsletter-row input { padding: .5rem; border-radius: 6px; border: none; flex: 1; }
.newsletter-row button { padding: .5rem 1rem; border-radius: 6px; border: none; background: var(--royal-blue); color: #fff; cursor: pointer; }
.footer-bottom { text-align: center; opacity: .7; margin-top: 2rem; font-size: .85rem; }

.chatbot-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; }
.chatbot-toggle { background: var(--royal-blue); color: #fff; border: none; border-radius: 999px; padding: .85rem 1.25rem; font-weight: 500; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.chatbot-panel { position: absolute; bottom: 60px; right: 0; width: 320px; max-height: 440px; background: #fff; border: 1px solid var(--border); border-radius: 10px; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.chatbot-panel.hidden { display: none; }
.chatbot-header { background: var(--navy); color: #fff; padding: .75rem 1rem; font-weight: 500; border-radius: 10px 10px 0 0; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: .75rem 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; max-height: 280px; }
.chatbot-msg-user { align-self: flex-end; background: var(--light-bg); padding: .5rem .75rem; border-radius: 8px; }
.chatbot-msg-assistant { align-self: flex-start; background: #eef2fb; padding: .5rem .75rem; border-radius: 8px; }
.chatbot-input-row { display: flex; border-top: 1px solid var(--border); }
.chatbot-input-row input { flex: 1; border: none; padding: .75rem; font-family: inherit; }
.chatbot-input-row button { border: none; background: var(--royal-blue); color: #fff; padding: 0 1rem; cursor: pointer; }

.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: radial-gradient(120% 120% at 15% 10%, #eef3ff 0%, var(--light-bg) 55%, #eef1f6 100%); }
.login-container { width: 100%; max-width: 400px; }
.login-card { background: #fff; border-radius: 16px; padding: 2.5rem 2.25rem; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(15, 31, 61, .12), 0 2px 8px rgba(15, 31, 61, .06); }

.login-header { text-align: center; margin-bottom: 2rem; }
.login-logo { display: inline-block; margin-bottom: 1.25rem; }
.login-logo-img { height: 44px; }
.login-header h1 { font-size: 1.5rem; margin-bottom: .35rem; }
.login-subtitle { color: var(--muted); font-size: .9rem; margin: 0; }

.login-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--navy); }

.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: .9rem; display: flex; color: var(--muted); pointer-events: none; }
.input-icon svg { width: 18px; height: 18px; }
.input-wrapper input { width: 100%; padding: .75rem .75rem .75rem 2.5rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.input-wrapper input:focus { outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 3px rgba(45, 91, 227, .12); }
.input-wrapper input[type="password"] { padding-right: 2.5rem; }
.password-toggle { position: absolute; right: .6rem; background: none; border: none; padding: .3rem; cursor: pointer; color: var(--muted); display: flex; align-items: center; border-radius: 4px; }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--royal-blue); outline: none; }
.password-toggle svg { width: 18px; height: 18px; }

.login-options { display: flex; align-items: center; font-size: .85rem; }
.remember-me { display: flex; align-items: center; gap: .45rem; color: var(--text); cursor: pointer; }
.remember-me input { margin: 0; }

.login-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .8rem; font-size: .95rem; }
.btn-arrow { transition: transform .15s ease; }
.login-btn:hover .btn-arrow { transform: translateX(3px); }

.login-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; }
.login-footer p { margin: .25rem 0; font-size: .8rem; color: var(--muted); }
.login-copyright { font-size: .75rem !important; opacity: .7; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; }
  .nav-inner { position: relative; }
  .brand { padding: 0 1.25rem; }
  .nav-cta { padding: 0 1rem; font-size: .8rem; }
  .chatbot-panel { width: calc(100vw - 2rem); right: -0.5rem; }
}

/* ============================================
   ADDITIONS FOR IMPROVED HOMEPAGE
   ============================================ */

/* Hero Section Enhancements */
.hero-slide__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-slider .btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.hero-slider .btn-ghost:hover,
.hero-slider .btn-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 2px solid rgba(15, 31, 61, 0.2);
  color: var(--navy);
  padding: .75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s ease;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--royal-blue);
  background: rgba(45, 91, 227, 0.05);
  color: var(--royal-blue);
  outline: none;
}

.hero-trust {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, .75);
}

.hero-trust .stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 1rem;
}

.hero-trust p {
  margin: 0;
}

@media (max-width: 768px) {
  .hero-slide__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-slide__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-trust {
    flex-direction: column;
    text-align: center;
  }
}

/* Stats Row Enhancement */
.stats-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1rem 0 0;
  font-style: italic;
}

/* Trust Bar */
.trust-bar {
  background: #fff;
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.trust-bar p {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: #9ca3af;
  font-size: 1.1rem;
}

.trust-logos span {
  transition: color .2s ease;
}

.trust-logos span:hover {
  color: var(--royal-blue);
}

@media (max-width: 768px) {
  .trust-logos {
    gap: 1.25rem;
    font-size: 0.9rem;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Service Cards Enhancement */
.service-card {
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.1);
  border-color: var(--royal-blue);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(45, 91, 227, 0.08);
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
}

.service-icon--default {
  font-size: 1.75rem;
  color: var(--royal-blue);
}

.service-icon--default svg {
  width: 28px;
  height: 28px;
}

.service-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform .2s ease;
}

.service-card:hover .service-link {
  transform: translateX(4px);
}

/* Process Section Enhancement */
.process-step {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.1);
  border-color: var(--royal-blue);
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Portfolio Cards Enhancement */
.portfolio-card {
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.1);
  border-color: var(--royal-blue);
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border-radius: 6px;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .3s ease;
  margin: 0;
}

.portfolio-card:hover .portfolio-image-wrapper img {
  transform: scale(1.05);
}

.tech-stack {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tech-badge {
  background: rgba(15, 31, 61, 0.85);
  color: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.client-name {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0;
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform .2s ease;
}

.portfolio-card:hover .card-link {
  transform: translateX(4px);
}

/* Pricing Cards */
.pricing-card {
  padding: 2.5rem 2rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  position: relative;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.1);
}

.pricing-card--featured {
  border-color: var(--royal-blue);
  box-shadow: 0 4px 20px rgba(45, 91, 227, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--royal-blue);
  color: #fff;
  padding: 0.35rem 1.25rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-price {
  margin: 1.5rem 0 1rem;
}

.pricing-price .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
}

.pricing-price .period {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-description {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* Team Cards */
.team-card {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.1);
  border-color: var(--royal-blue);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 50%;
}

.team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 91, 227, 0.08);
  font-size: 3rem;
  color: var(--royal-blue);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.role {
  color: var(--royal-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bio {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.linkedin-link {
  display: inline-block;
  color: #0077b5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color .2s ease;
}

.linkedin-link:hover {
  color: var(--royal-blue);
  text-decoration: underline;
}

/* Blog Cards Enhancement */
.blog-card {
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.1);
  border-color: var(--royal-blue);
}

.blog-card img {
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.blog-meta time {
  font-weight: 500;
}

.blog-category {
  background: rgba(45, 91, 227, 0.08);
  color: var(--royal-blue);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.read-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform .2s ease;
}

.blog-card:hover .read-more {
  transform: translateX(4px);
}

/* Testimonials Section */
#testimonials {
  background: #fff;
}

.testimonial-card {
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 10px;
  margin: 0;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 31, 61, 0.08);
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1rem;
}

.testimonial-card footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--royal-blue) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}

.cta-section .btn-primary:hover {
  background: var(--light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-section .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cta-phone {
  margin-top: 1.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .process-step {
    padding: 1.5rem;
  }

  .pricing-card {
    margin-bottom: 1.5rem;
  }

  .team-card {
    margin-bottom: 1.5rem;
  }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .pricing-card,
  .portfolio-card,
  .team-card,
  .blog-card,
  .testimonial-card,
  .process-step {
    transition: none;
    transform: none;
  }

  .portfolio-image-wrapper img,
  .service-link,
  .card-link,
  .read-more {
    transition: none;
  }
}

/* Focus States for Better Accessibility */
.service-card:focus-visible,
.portfolio-card:focus-visible,
.pricing-card:focus-visible,
.team-card:focus-visible,
.blog-card:focus-visible,
.btn:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--royal-blue);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .hero-slider__network,
  .hero-controls,
  .chatbot-widget,
  .cta-section {
    display: none;
  }

  .hero-slider-inner {
    padding: 2rem 0;
  }

  .hero-slide {
    display: block;
  }

  .hero-slide.is-active {
    animation: none;
  }
}

/* ============================================
   ABOUT SECTION (Lofty-style photo collage + checklist)
   ============================================ */
.about-section { padding: 5rem 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

.about-photos { position: relative; min-height: 420px; }
.about-photo-accent { position: absolute; left: -1rem; bottom: -1.5rem; width: 70%; height: 55%; background: var(--royal-blue); border-radius: 8px; z-index: 0; }
.about-photo-1 { position: relative; z-index: 1; width: 78%; aspect-ratio: 4 / 3; min-height: 280px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(15, 31, 61, .15); }
.about-photo-1 img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.about-photo-2 { position: absolute; right: 0; bottom: -2rem; width: 58%; aspect-ratio: 4 / 3; min-height: 200px; z-index: 2; border-radius: 8px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(15, 31, 61, .2); }
.about-photo-2 img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.about-photo-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--light-bg), #e4e9f5); color: var(--royal-blue); }
.about-photo-placeholder svg { width: 44px; height: 44px; opacity: .45; }

.about-call-badge { position: absolute; left: .5rem; top: -.5rem; z-index: 3; background: var(--navy); color: #fff; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.25rem; border-radius: 8px; box-shadow: 0 10px 30px rgba(15, 31, 61, .3); }
.about-call-badge-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--royal-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-call-badge-icon svg { width: 18px; height: 18px; color: #fff; }
.about-call-badge .label { font-size: .7rem; opacity: .75; display: block; }
.about-call-badge .value { font-weight: 700; color: #fff; }

.section-eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--royal-blue); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.section-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--royal-blue); display: inline-block; }

.about-content h2 { margin-bottom: 1rem; }
.about-content > p { color: var(--muted); margin-bottom: 2rem; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.about-feature { display: flex; gap: .85rem; align-items: flex-start; }
.about-feature-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-feature-icon svg { width: 20px; height: 20px; color: #fff; }
.about-feature h4 { margin: 0 0 .25rem; font-size: 1rem; }
.about-feature p { margin: 0; font-size: .85rem; color: var(--muted); }

.about-checklist { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: .75rem; }
.about-checklist li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.about-checklist svg { width: 20px; height: 20px; color: var(--royal-blue); flex-shrink: 0; }

.about-cta-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.about-badge-box { background: var(--royal-blue); color: #fff; padding: 1rem 1.5rem; border-radius: 8px; text-align: center; font-weight: 700; font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.about-badge-box svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photos { min-height: 320px; margin-top: 1rem; }
  .about-features { grid-template-columns: 1fr; }
}

/* ============================================
   SERVICES SECTION - dark, photo-card treatment
   ============================================ */
.services-dark { background: var(--navy); position: relative; overflow: hidden; }
.services-dark::before {
  content: '';
  position: absolute; inset: 0; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(rgba(127, 200, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px;
}
.services-dark .container { position: relative; z-index: 1; }
.services-dark .section-header h2 { color: #fff; }
.services-dark .section-header .section-subtitle { color: rgba(255, 255, 255, .7); }
.services-dark .section-eyebrow { color: #7fc8ff; }
.services-dark .section-eyebrow::before { background: #7fc8ff; }

.service-photo-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; border-radius: 12px; overflow: hidden; color: #fff; }
.service-photo-card__bg { position: absolute; inset: 0; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; transition: transform .4s ease; z-index: 0; }
.service-photo-card--placeholder .service-photo-card__bg { background-image: linear-gradient(135deg, var(--royal-blue), var(--navy)); }
.service-photo-card:hover .service-photo-card__bg { transform: scale(1.08); }
.service-photo-card__overlay { position: absolute; inset: 0; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(15, 31, 61, .1) 0%, rgba(6, 13, 28, .92) 85%); z-index: 1; }

.service-card-badge { position: relative; z-index: 2; align-self: flex-start; margin: 1.25rem 0 auto 1.25rem; width: 56px; height: 56px; border-radius: 50%; background: var(--royal-blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.service-card-badge svg { width: 26px; height: 26px; color: #fff; }

.service-photo-card-body { position: relative; z-index: 2; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.service-photo-card-body h3 { color: #fff; margin: 0; font-size: 1.15rem; }

.service-card-link-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; flex-shrink: 0; transition: background .2s, border-color .2s; }
.service-photo-card:hover .service-card-link-btn { background: var(--royal-blue); border-color: var(--royal-blue); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   TWO-COLUMN FORM LAYOUT (long forms)
   ============================================ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; max-width: 720px; }
.grid-2 .form { grid-template-columns: 1fr; max-width: none; }
.form h2 { grid-column: 1 / -1; margin-top: .5rem; }
.form h2:first-child { margin-top: 0; }
.form-field-full { grid-column: 1 / -1; }
.form button[type="submit"] { grid-column: 1 / -1; justify-self: start; }

@media (max-width: 700px) {
  .form { grid-template-columns: 1fr; }
}
