/*VelocitiQ – Global Theme*/
:root {

  --ink: #0f172a;
  --muted: #616b7a;
  --border: #eceef6;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --panel: #ffffff;
  --panel-border: #eceef6;
  --footer-bg: #070b2d;
  --brand: #2F5AE3;
  --accent: #2F5AE3;
  --accent-2: #0A58FF;
  --shadow: 0 20px 40px rgba(0, 0, 0, .08);
  --btn-grad: linear-gradient(90deg, #2F5AE3, #0A58FF);
  --btn-grad-hover: linear-gradient(90deg, #1E49D6, #0A58FF);
  --nav-bg: #0b1130;
  /* dark left column (services tabs) */
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 10px
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 100
}

.navbar {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 12px 0;
  margin-left: 10px;
  position: relative;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 46px;
  margin-left: 15px;
  width: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0 0 0 10%;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  position: relative;
  transition: color .15s;
  white-space: nowrap;
}

/* active page highlight */
.nav-links a.active,
.nav-dropdown > a.active,
.nav-links a[aria-current="page"],
.nav-links li a.active {
  color: var(--brand) !important;
  font-weight: 600;
}

/* Services Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 300px;
  border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content {
  display: flex;
  padding: 20px;
  gap: 30px;
}

.dropdown-column {
  flex: 1;
}

.dropdown-column a {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.dropdown-column a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}



.dropdown-column a {
  color: var(--ink) !important;
}

.dropdown-column a:hover {
  color: var(--brand) !important;
  border-bottom-color: var(--brand);
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand)
}

.phone {
  font-weight: 700;
  font-size: 14px
}

.nav-socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: rgba(47, 90, 227, .12);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-socials a i {
  font-size: 14px;
  position: relative;
  z-index: 1;
  color: inherit;
}

.nav-socials a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  opacity: 0;
  transition: opacity .18s ease-in-out;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: fit-content;
  margin-left: 200px;
}

.nav-whatsapp {
  margin-left: 20px;
}

.nav-whatsapp a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-whatsapp a:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.nav-whatsapp i {
  font-size: 16px;
}

.nav-socials a:hover::after {
  opacity: .55;
}

.nav-socials a {
  color: var(--brand) !important;
}

.nav-socials a * {
  color: var(--brand) !important;
}

.nav-socials a:hover {
  color: #fff !important;
}

.nav-socials a:hover * {
  color: #fff !important;
}

/* softer overlay */


.btn-nav {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  background: var(--btn-grad);
  transition: filter .25s ease, transform .2s ease;
  width: max-content;
}

.btn-nav:hover {
  transform: translateY(-2px);
}

.hero {
  --bg: #0b1a35;
  --text: #ffffff;
  --btn: #0a2463;
  --btn-light: #e9edff;
  background: none;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: none;
  opacity: 1;
  object-position: 50% 35% !important;
  z-index: 0 !important;
}

.hero video.hero-bg {
  background: var(--bg);
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .45));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text);
  transform: translateY(75px);
}

.hero-content h1 {
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(20px, 4vw, 60px);
  letter-spacing: .2px;
}

.tagline {
  margin: 0 0 28px;
  font-size: clamp(14px, 2.2vw, 22px);
  opacity: .95;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  width: max-content;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--btn-grad);
  box-shadow: 0 8px 20px rgba(10, 36, 99, .18);
  transition: background .15s, transform .12s, box-shadow .15s;
}

.btn-primary:hover {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(47, 90, 227, .30);
}

.section {
  padding: 70px 0
}

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

.section-title {
  font-size: 28px;
  margin: 0 0 26px
}

.grid {
  display: grid;
  gap: 20px
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

/* Services page: two equal columns */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
  justify-items: normal;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-card:hover .service-img img {
  transform: none; /* no zoom */
}


.service-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.service-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.service-content p {
  margin: 0 0 15px 0;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.btn-service {
  display: inline-block;
  padding: 10px 20px;
  background: var(--btn-grad);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  align-self: center;
  margin-top: auto;
}

.btn-service:hover {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
}

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-content {
    padding: 15px;
  }
  
  .service-img {
    height: 180px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    gap: 20px;
  }
  
  .service-content {
    padding: 18px;
  }
}

/* generic cards grid */
.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr
  }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
  transition: transform .2s, box-shadow .2s
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08)
}

.icon {
  font-size: 28px
}

.muted {
  color: #5c6484
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.projects-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(47, 90, 227, .18);
  background: #f1f1f6;
  min-height: 260px;
  box-shadow: 0 10px 28px rgba(47, 90, 227, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: none;
}

.project-card:hover .projects-img img {
  transform: none;
}

.btn-case {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  background: var(--btn-grad);
  transition: filter .25s ease, transform .2s ease;
  width: max-content
}

.project-card:hover .btn-case {
  transform: translateY(-2px)
}

.btn-case:hover {
  background: var(--btn-grad-hover);
  filter: saturate(1.1)
}

.footer-dark {
  background: var(--footer-bg);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 20px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.9fr 1.9fr 2fr;
  gap: 15px;
  align-items: start
}

.f-logo img {
  height: 90px;
  width: 60%;
  filter: brightness(1.2)
}

.footer-dark .tagline {
  color: #ffffff;
  margin: 12px 0 14px
}



.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  margin-right: 10px;
  color: #fff;
  text-decoration: none;
  transition: background .2s, border .2s, transform .2s
}

.socials a:hover {
  background: #ffffff18;
  border-color: #fff;
  transform: translateY(-2px)
}

.f-col h4 {
  margin: 0 0 12px;
  font-size: 18px
}

.f-list {
  list-style: none;
  margin: 0;
  padding: 0
}

.f-list li {
  margin: 8px 0
}

.f-list a {
  color: #fff;
  text-decoration: none;
  opacity: .9
}

.f-list a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: underline
}

.f-contact li {
  display: flex;
  align-items: center;
}

.f-contact i {
  margin-right: 8px;
  color: #b6bdf0
}

/* Footer newsletter: input + button side-by-side with pro spacing */
.newsletter {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2b2d55;
  background: #ffffff;
  color: #0f172a;
}

.newsletter button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  color: #fff;
  background: var(--btn-grad);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter button:hover {
  background: var(--btn-grad-hover)
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--btn-grad);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(47, 90, 227, .25);
  transition: transform .12s ease, box-shadow .15s ease;
}

.btn-gradient:h over {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(47, 90, 227, .35)
}

.footer-bottom {
  border-top: 1px solid #ffffff22;
  margin-top: 24px;
  padding-top: 12px;
  color: #c7cae8;
  font-size: 14px;
  text-align: center
}

.contact-section {
  padding: 40px 0 70px;
}

.contact-layout {
  display: grid;
  gap: 32px;
  align-items: start;
  grid-template-columns: 1.1fr 1fr;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-info h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .2px;
}

.contact-info .muted {
  color: #667085;
  margin: 0 0 18px;
  max-width: 52ch;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}

.info-list span {
  color: #475467;
  margin-right: 8px;
}

.info-list strong {
  color: #0f172a;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .25);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}

.wa-btn i {
  font-size: 20px;
  line-height: 0
}

.wa-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35)
}

.contact-card {
  padding: 28px;
  background: #d4e6f9d3;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-weight: 600;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: #0f172a;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3B6BE6;
  box-shadow: 0 0 0 4px rgba(59, 107, 230, .12);
}

.form-actions {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.about-hero {
  padding: 60px 0 90px;
  background: linear-gradient(180deg, #fafbff, transparent 30%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: start;
}

.about-copy h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .2px;
}

.about-copy p {
  margin: 0 0 16px;
  color: #3a3a3a;
  max-width: 62ch;
}

.about-list {
  margin: 8px 0 22px 1.1rem;
  padding: 0;
}

.about-list li {
  margin: 8px 0;
}

.about-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}

.link-plain {
  color: #0a2463;
  text-decoration: none;
  font-weight: 600;
}

.link-plain:hover {
  text-decoration: underline;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .06);
}

.about-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  filter: grayscale(100%);
  box-shadow: 0 12px 28px rgba(47, 90, 227, .12);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 10px;
}

.stat {
  background: #f6f7fb;
  border: 1px solid #eceef6;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: #343a46;
  text-align: center;
}

.stat span {
  display: block;
  font-weight: 800;
  font-size: 18px;
  color: #0a2463;
}

.about-note {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid #eceef6;
  border-radius: 14px;
  background: #fbfcff;
}

.about-note h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.checklist,
.about-list {
  list-style: none;
  padding-left: 0;
}

.checklist li,
.about-list li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}

.checklist li::before,
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .1em;
  color: #25D366;
  font-weight: 800;
}

#culture .value-item {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 54px;
  margin: 80px 0;
}

#culture .value-item.reverse {
  grid-template-columns: .95fr 1.05fr;
}

#culture .value-item.reverse .value-copy {
  order: 2;
}

#culture .value-item.reverse .value-media {
  order: 1;
}

#culture .value-copy h3 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .2px;
}

#culture .value-copy p {
  margin: 0;
  color: #475569;
  max-width: 56ch;
}

#culture .value-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  font-size: 24px;
}

#culture .value-media {
  position: relative;
}

#culture .value-media img {
  width: 100%;
  display: block;
  background: #0b1a35;
  object-fit: cover;
  border-radius: 32px 120px 32px 120px/32px 90px 32px 90px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

#culture .value-media img {
  box-shadow: 0 12px 28px rgba(47, 90, 227, .12);
}

#culture .value-media::before,
#culture .value-media::before {
  left: -18px;
  bottom: -10px;
  transform: rotate(-18deg);
}

#culture .value-media::after {
  right: -18px;
  top: -10px;
  transform: rotate(18deg);
}

@media (max-width:1000px) {

  #culture .value-item,
  #culture .value-item.reverse {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 56px 0;
  }

  #culture .value-copy h3 {
    font-size: 24px;
  }

  #culture .value-media::before,
  #culture .value-media::after {
    width: 64px;
    height: 18px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px;
}

.section-header h2 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: .2px;
  color: #0b1130;
}

.accent-pill {
  width: 14px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(-20deg);
  box-shadow: 0 12px 24px rgba(47, 90, 227, .25);
}

/* Scope the tab layout to the services section to avoid clashes with generic .services-grid */
/* Tabs layout: only apply when a left .svc-list is present */
.services-grid:has(.svc-list) {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* Ensure the right panel aligns to the top and stretches naturally */
.svc-panels {
  display: block;
}

/* Normalize the left column button sizes for long labels */
.svc-list .svc-tab {
  line-height: 1.35;
  padding: 14px 16px;
  word-wrap: break-word;
  white-space: normal;
}

/* Keep the left column fixed width on desktop to prevent wobble */
@media (min-width: 981px) {
  .services-grid:has(.svc-list) {
    grid-template-columns: 360px 1fr;
  }
}
@media (max-width: 980px) {
  .services-grid:has(.svc-list) {
    grid-template-columns: 1fr;
  }
}

.svc-list {
  background: var(--nav-bg);
  color: #fff;
  padding: 22px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 24px 40px rgba(11, 17, 48, .25);
}

.svc-tab {
  width: 100%;
  text-align: left;
  color: #e7e9f5;
  background: transparent;
  border: 0;
  font: 600 16px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding: 14px 16px;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}

.svc-tab+.svc-tab {
  margin-top: 6px;
}

.svc-tab.is-active {
  color: #fff;
}

/* Active state = blue text + small underline */
/* Left services list: active = blue text, NO underline */
.svc-tab.is-active {
  color: var(--brand);
}

.svc-tab.is-active::before {
  content: none;
}

@media (max-width:980px) {
  .svc-tab.is-active::before {
    content: none;
  }
}


/* optional: visible keyboard focus on any tab */
.svc-tab:focus-visible {
  outline: 2px solid rgba(47, 90, 227, .6);
  outline-offset: 2px;
  border-radius: 8px;
}


@media (max-width: 980px) {
  .grid.two {
    grid-template-columns: 1fr
  }

  .footer-dark {
    padding: 28px 0 18px
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  /* Reorder for better scan: Brand → Contact → Services → Newsletter */
  .footer-grid .f-col:nth-child(1) {
    order: 1
  }

  .footer-grid .f-col:nth-child(3) {
    order: 2
  }

  .footer-grid .f-col:nth-child(2) {
    order: 3
  }

  .footer-grid .f-col:nth-child(4) {
    order: 4
  }

  /* Forms full-width on mobile */
  .newsletter {
    flex-direction: column;
    gap: 10px
  }

  .newsletter button {
    width: 20%
  }

  /* Trim marketing link on small screens */
  .ask-btn {
    display: none
  }
}

/* ==== Desktop defaults (keep header normal on desktop) ==== */
.menu-toggle {
  display: none;
}

.nav-links {
  position: static;
  transform: none;
  box-shadow: none;
  background: transparent;
  height: auto;
  width: auto;
}

/* Mobile: left drawer off on desktop */
@media (min-width: 821px) {
  .drawer-close {
    display: none !important;
  }
}

/* Mobile: left drawer */
@media (max-width: 820px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .btn-cont-nav,
  /* hide socials/CTA row on mobile header */
  .nav-actions,
  #nav-cta {
    display: none !important;
  }



  /* Drawer (ABOVE overlay, no left gap) */
  .nav-links {
    position: fixed;
    top: 0;
    right: 25vw;

    height: auto;
    width: 80vw;
    max-width: 320px;
    background: #fff;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 56px 20px 24px;
    transform: translateX(-100%);
    /* fully offscreen when closed */
    visibility: hidden;
    /* no sliver */
    transition: transform .28s ease, visibility 0s .28s;
    z-index: 1000;
    /* ← above overlay */
    pointer-events: auto;
  }

  /* Close (X) button inside the drawer */
  .nav-links .drawer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: #0b0f2c;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  }

  .nav-links .drawer-close:focus-visible {
    outline: 2px solid rgba(47, 90, 227, .6);
    outline-offset: 2px;
  }

  .nav-links .drawer-close:active {
    transform: scale(.98);
  }

  .nav-links.show {
    transform: translateX(0) !important;
    visibility: visible !important;
    transition: transform .45s ease-out;
    box-shadow: 16px 0 40px rgba(0, 0, 0, .18);

  }

  .nav-links {
    border-right: none;
    box-shadow: none;
  }



  .nav-links a {
    padding: 10px 6px;
  }

  .menu-toggle {
    display: block;
  }

  /* Overlay — BELOW drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    transition: opacity .28s ease;

  }

  .nav-overlay.show {
    display: block;
    opacity: 1;

  }

  body.no-scroll {
    overflow: hidden;
  }

}



.svc-panel:not(.is-active) {
  display: none;
}

.svc-panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--shadow);
  scroll-margin-top: 84px;
  /* so the title isn't hidden behind sticky header */
}


.svc-panel h3 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: .2px;
  color: var(--ink);
}

.svc-panel h4 {
  margin: 14px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #435065;
}

.sq-bullets {
  margin: 10px 0 16px 0;
  padding: 0;
  list-style: none;
}

.sq-bullets li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: var(--muted);
}

.sq-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  background: #1f2a44;
  border-radius: 2px;
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 24px rgba(47, 90, 227, .25);
  /* replaced pink */
  transition: transform .12s ease, box-shadow .15s ease;
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(47, 90, 227, .35);
  /* replaced pink */
}


/* MOBILE: header + hero */

@media (max-width: 600px) {
  .hero {
    height: 100vh;
    min-height: unset;
    padding: 0;
  }

  /* stop forcing 80vh */
  .hero-content {
    transform: none;
  }

  /* remove push-down */
  .hero-bg {
    object-fit: cover;
    object-position: 50% 30% !important;
  }
}


/* About page: mobile layout */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* stack columns */
  .about-aside {
    order: 2;
  }

  /* copy first, card second */
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  /* prevent cramped stats pills */
}


@media (min-width: 821px) {
  .nav-actions {
    margin-left: 200px;
    display: flex;
    align-items: center;
  } 

  /* socials sit right */
  .btn-cont-nav {
    margin-left: auto; /* push Contact Us to extreme right on wide screens */
  }

  /* “great” gap to CTA */
}


@media (max-width: 980px) {
  .newsletter {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .newsletter input {
    flex: 1 1 auto;
    max-width: 65%;
  }

  .newsletter button {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
}



/* Footer accordion (mobile only) */
@media (max-width: 980px) {
  .footer-dark .f-col h4.f-acc {
    position: relative;
    cursor: pointer;
    padding-right: 25px;
  }

  .footer-dark .f-col h4.f-acc::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: #7ea2ff;
  }

  .footer-dark .f-col h4.f-acc[aria-expanded="true"]::after {
    content: "–";
  }

  /* collapsible body */
  .footer-acc-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease;
  }
}

/* === Header edge-to-edge override (append-only) === */
.site-header .navbar.container{
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto auto; /* logo | nav | socials/WA | Contact */
  align-items: center;
  gap: 20px;
}

/* Pin positions */
.site-header .logo{ justify-self: start !important; }
.site-header .nav-links{
  justify-self: center !important;
  margin-left: 0 !important;      /* cancel existing 10% */
  margin-right: 0 !important;
}
.site-header .nav-actions{
  justify-self: end !important;
  margin-left: 0 !important;      /* cancel existing 200px */
}
.site-header .btn-cont-nav{ justify-self: end !important; margin-left: 8px; }

/* Remove offsets that block true extremes */
.site-header .navbar{ margin-left: 0 !important; }
.site-header .logo img{ margin-left: 0 !important; }

/* Mobile keeps working; small side padding ok */
@media (max-width: 980px){
  .site-header .navbar.container{
    grid-template-columns: auto 1fr auto;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  /* Optional: shorten WA on tiny screens */
  .site-header .nav-whatsapp span{ display: none; }
}

/* Desktop: never collapsed */
@media (min-width: 981px) {
  .footer-acc-body {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* Left Services list — active item = pink rectangle */
.services-grid .svc-list .svc-tab {
  position: relative;
  z-index: 0;
}

.services-grid .svc-list .svc-tab.is-active {
  color: #ffffff !important;
  /* dark text on light bar */
  font-weight: 700;
}

.services-grid .svc-list .svc-tab.is-active::before {
  content: "" !important;
  /* override any previous 'none' */
  position: absolute;
  z-index: -1;
  left: 10px;
  right: 10px;
  top: 6px;
  bottom: 6px;
  /* full-width pill inside aside */
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 100%);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(47, 90, 227, .25);
}

/* small tweak for phones */
@media (max-width:980px) {
  .services-grid .svc-list .svc-tab.is-active::before {
    left: 12px;
    right: 12px;
  }
}

/* Leadership Section */
.leadership-section {
  padding: 60px 0;
  background: var(--bg-alt);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.leadership-grid.single-card {
  justify-content: center;
  grid-template-columns: minmax(0, 320px);
  justify-items: center;
}

.leader-card {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .12);
}

.leader-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f8f9fa;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

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

.leader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(47, 90, 227, 0.8), rgba(10, 88, 255, 0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.leader-card:hover .leader-overlay {
  opacity: 1;
}

.leader-info {
  padding: 24px;
}

.leader-info h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.leader-role {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leader-info p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .leadership-section {
    padding: 40px 0;
  }
  
  .dropdown-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .dropdown-menu {
    min-width: 250px;
  }
}

/* === PATCH: shift only the logo 10px right (no other changes) === */
.site-header .logo {
  transform: translateX(15px) !important; /* visual shift only; layout unchanged */
}

/* === PATCH: Keep top-level "Services" neutral on click/open (2025-09-28) === */
/* Even if some JS opens the dropdown, do NOT turn the top label blue */
.nav-dropdown.open > a {
  color: var(--ink) !important;      /* keep default text color */
  font-weight: 600 !important;       /* match other top links */
}

/* === PATCH: Services submenu active scoping (2025-09-28) === */

/* Keep top-level Services neutral even when dropdown has .open */
.nav-dropdown.open > a {
  color: var(--ink) !important;
  font-weight: 600 !important;
}

/* Default look for submenu items */
.nav-dropdown .dropdown-menu a {
  color: var(--ink) !important;
  font-weight: 500;
}

/* Only the clicked submenu item turns blue */
.nav-dropdown .dropdown-menu a.active {
  color: var(--brand) !important;
  font-weight: 600;
}

/* === PATCH: Keep top-level Services neutral when clicked (no blue) === */
/* Your global rule makes links blue on :focus. Override ONLY for Services. */
.nav-dropdown > a:focus,
.nav-dropdown > a:active {
  color: var(--ink) !important;   /* stay neutral */
  outline: none;                  /* no focus ring on mouse click */
}

/* === FIX: Only the clicked submenu is blue; "All Services" not blue by default === */
/* Your earlier CSS forces the LAST item in a dropdown-column to be brand-blue.
   That makes "All Services" always blue. Neutralize it here. */

.nav-dropdown .dropdown-column a:last-child {
  /* keep its position/spacing, but not blue */
  color: var(--ink) !important;
  font-weight: 600;                /* keep bold if you like; remove if not wanted */
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 15px;
}

/* Submenu links:
   - default text color = neutral
   - only the .active one turns blue */
.nav-dropdown .dropdown-menu a { 
  color: var(--ink) !important;
  font-weight: 500;
}
.nav-dropdown .dropdown-menu a.active {
  color: var(--brand) !important;
  font-weight: 600;
}

/* === OVERRIDE: show entire service images (no cropping) === */
.service-img {
  width: 100%;
  height: 220px;              /* keep cards uniform; change to 200px if you prefer */
  background: #f6f7fb;        /* subtle letterbox background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;           /* prevents spill if odd aspect ratios */
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* KEY: show full image */
  object-position: center;
  transition: transform 0.3s ease;
}

/* Stop the hover zoom on service images */
.service-card:hover .service-img img {
  transform: none;
}

/* Mobile tweak */
@media (max-width: 768px) {
  .service-img {
    height: 200px;
  }
}

.projects-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-category {
  background: #fff;
  border: 1px solid rgba(47, 90, 227, .12);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.project-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.category-thumb {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(47, 90, 227, 0.15);
}

.project-category h3 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.project-category .projects-grid {
  margin-top: 20px;
}

.project-card.project-card-center {
  grid-column: 1 / -1;
  max-width: 60%;
  margin: 0 auto;
}

.project-category .project-card h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .project-category {
    padding: 24px;
  }

  .project-category-header {
    flex-direction: column;
    text-align: center;
  }

  .category-thumb {
    width: 64px;
    height: 64px;
  }

  .project-card.project-card-center {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .project-category {
    padding: 20px;
  }

  .project-category .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-actions {
    flex-direction: column;
  }

  .project-actions a {
    width: 100%;
  }
}

.projects-img.projects-img-sm {
  min-height: 220px;
}

#cad-projects .projects-grid {
  align-items: start;
}

.project-actions,
.service-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-order,
.btn-service-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: var(--btn-grad);
  transition: transform .2s ease, filter .2s ease;
}

.btn-order:hover,
.btn-service-email:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

.btn-whatsapp,
.btn-service-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #25d366;
  transition: transform .2s ease, filter .2s ease;
}

.btn-whatsapp:hover,
.btn-service-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.service-hero {
  display: flex;
  justify-content: center;
  margin: 24px auto 28px;
}

.service-hero-inner {
  background: #e6ecff;
  padding: 18px;
  border-radius: 32px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: inline-flex;
}

.service-hero img {
  width: 360px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 20px;
}

.service-hero.ai-hero img {
  width: 340px;
}

.about-page {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #fafbff, transparent 35%);
}

.section-header.center {
  justify-content: center;
  text-align: center;
}

.about-intro {
  margin: 0 auto 40px;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
}

.about-row {
  margin-top: 48px;
}

.about-row-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: stretch;
}

.about-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
}

.about-column > *:last-child {
  margin-top: auto;
}

.about-column-text section,
.about-column-media section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.about-image-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-column-media .about-image-card {
  flex: 1;
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.about-column-media .about-image-card img {
  height: 100%;
  object-fit: contain;
}

.about-row-bottom {
  margin-top: 56px;
}

.about-centered {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  text-align: center;
}

.about-centered section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.about-centered ul {
  text-align: left;
  display: inline-block;
}

.about-motto p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .about-row-top {
    grid-template-columns: 1fr;
  }

  .about-centered {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .about-column-text section,
  .about-column-media section {
    padding: 20px;
  }

  .about-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}

/* One‑window Solution section */
.onewindow {
  margin-top: 40px;
  padding-bottom: 24px;
}

.onewindow-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}

/* Ensure the next section (Services We Offer) starts lower */
.onewindow + section.container {
  margin-top: 64px;
}

.onewindow-copy p {
  margin: 0 0 12px;
  color: #475569;
}

.onewindow-copy h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.onewindow-steps {
  margin: 8px 0 16px 1.2rem;
}

.onewindow-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rounded-img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(15,23,42,.08);
}

.onewindow-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  margin: 8px 0 16px;
}

.onewindow-box h3 {
  margin: 0 0 10px;
}

.onewindow-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

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