/* 2026 premium technology theme — shared by all MVC views */
:root {
  --tech-ink: #0b1728;
  --tech-muted: #607086;
  --tech-blue: #0878d1;
  --tech-cyan: #08a8d8;
  --tech-line: rgba(12, 57, 94, 0.12);
  --tech-surface: rgba(255, 255, 255, 0.86);
  --tech-soft: #eef6fb;
  --tech-radius: 22px;
  --tech-shadow: 0 24px 70px rgba(28, 61, 87, 0.11);
}

html[data-theme="dark"] {
  color-scheme: light;
}

body,
html[data-theme="dark"] body {
  color: var(--tech-ink);
  background:
    linear-gradient(rgba(10, 105, 165, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 105, 165, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 4%, rgba(8, 168, 216, 0.12), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f1f7fb 48%, #f8fbfd 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.site-header,
.site-header.is-scrolled,
.site-header.is-nav-open {
  top: 16px;
  min-height: 72px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  color: var(--tech-ink);
  background: rgba(250, 253, 255, 0.82);
  box-shadow:
    0 18px 54px rgba(24, 54, 79, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(145%);
}

.site-nav {
  padding: 4px;
  border-radius: 14px;
  background: rgba(226, 240, 249, 0.6);
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 11px;
  color: #526175;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-nav a:hover {
  border-color: rgba(8, 120, 209, 0.12);
  color: #075b9b;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(31, 78, 111, 0.08);
}

.header-cta,
.button-primary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #092d52 0%, #0878d1 58%, #08a8d8 100%);
  box-shadow:
    0 14px 34px rgba(8, 120, 209, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.language-switch {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 120, 209, 0.14);
  border-radius: 12px;
  color: #086eb9;
  background: rgba(231, 245, 251, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-header:has(.language-switch) {
  grid-template-columns: minmax(180px, 238px) minmax(0, 1fr) auto auto;
}

.button-secondary {
  border: 1px solid rgba(8, 120, 209, 0.16);
  border-radius: 13px;
  color: #0b5f9e;
  background: rgba(255, 255, 255, 0.82);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(8, 120, 209, 0.25);
}

.hero {
  min-height: 720px;
  padding-bottom: 34px;
  color: var(--tech-ink);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.99) 0%, rgba(248, 252, 255, 0.9) 36%, rgba(248, 252, 255, 0.08) 74%),
    linear-gradient(0deg, rgba(238, 247, 252, 0.88), rgba(238, 247, 252, 0.02) 54%);
}

.hero::before,
.page-hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(8, 168, 216, 0.12), transparent 18rem),
    linear-gradient(180deg, transparent 72%, rgba(241, 248, 252, 0.74));
}

.hero h1,
.page-hero h1 {
  color: var(--tech-ink);
  text-shadow: none;
}

.eyebrow {
  color: var(--tech-blue);
  letter-spacing: 0.14em;
}

.hero-copy,
.page-hero p:not(.eyebrow) {
  color: #536579;
}

.hero-panel {
  overflow: visible;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel div {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px rgba(28, 61, 87, 0.1);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  color: var(--tech-blue);
}

.hero-panel p {
  color: var(--tech-muted);
}

.section,
.band,
.cta,
.page-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.intro,
.industries,
.page-section,
html[data-theme="dark"] .page-section {
  background: rgba(255, 255, 255, 0.86);
}

.services,
.page-section.alt,
html[data-theme="dark"] .page-section.alt {
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 168, 216, 0.09), transparent 24rem),
    linear-gradient(180deg, #eef6fb, #f7fbfd);
}

.service-grid,
.feature-grid,
.work-grid,
.blog-grid,
.detail-grid {
  gap: 20px;
}

.service-card,
.feature-card,
.work-card,
.contact-card,
.blog-card,
.contact-form,
.page-form,
.quote-panel,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .work-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .page-form {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--tech-radius);
  color: var(--tech-ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 252, 0.93));
  box-shadow:
    var(--tech-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.service-card::before,
.feature-card::before,
.work-card::before,
.contact-card::before,
.blog-card::before {
  height: 2px;
  background: linear-gradient(90deg, var(--tech-cyan), rgba(8, 168, 216, 0));
}

.service-card:hover,
.feature-card:hover,
.work-card:hover,
.blog-card:hover,
.contact-card:hover {
  border-color: rgba(8, 168, 216, 0.28);
  box-shadow:
    0 28px 74px rgba(21, 71, 107, 0.16),
    0 0 0 1px rgba(8, 168, 216, 0.07);
}

.card-media {
  border: 0;
  border-radius: 16px;
  filter: saturate(0.9) contrast(1.03);
  box-shadow: 0 16px 36px rgba(24, 54, 79, 0.12);
}

.service-card .icon,
.step span {
  border: 1px solid rgba(8, 120, 209, 0.12);
  border-radius: 13px;
  color: #086eb9;
  background: linear-gradient(145deg, #e2f5fb, #fff);
  box-shadow: 0 10px 26px rgba(8, 120, 209, 0.1);
}

.band,
.process-band {
  border-block: 1px solid rgba(8, 120, 209, 0.1);
  color: var(--tech-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(8, 168, 216, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 100%, rgba(8, 120, 209, 0.08), transparent 25rem),
    linear-gradient(135deg, #eaf5fb, #fafdff 52%, #edf7f8);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(8, 120, 209, 0.07);
}

.process-copy h2,
.band h2 {
  color: var(--tech-ink);
}

.step {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 42px rgba(28, 61, 87, 0.08);
}

.step p,
.band-copy p:last-child {
  color: var(--tech-muted);
}

.industry-list {
  gap: 14px;
}

.industry-list span {
  border-color: var(--tech-line);
  border-radius: 15px;
  color: #21425e;
  background: linear-gradient(145deg, #f7fbfd, #edf6fa);
}

.cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(8, 168, 216, 0.13), transparent 22rem),
    linear-gradient(135deg, #e6f4fa, #fbfdff 46%, #eaf5f2);
}

.contact-form input,
.contact-form textarea,
.page-form input,
.page-form textarea,
.page-form select,
html[data-theme="dark"] .page-form input,
html[data-theme="dark"] .page-form textarea,
html[data-theme="dark"] .page-form select {
  min-height: 52px;
  border-color: rgba(12, 57, 94, 0.14);
  border-radius: 13px;
  color: var(--tech-ink);
  background: rgba(247, 251, 253, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus,
.page-form input:focus,
.page-form textarea:focus,
.page-form select:focus {
  outline: 3px solid rgba(8, 168, 216, 0.14);
  border-color: var(--tech-cyan);
}

.page-main {
  background: transparent;
}

.page-hero {
  min-height: 350px;
  border-bottom: 1px solid rgba(8, 120, 209, 0.1);
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.88) 44%, rgba(248, 252, 255, 0.07) 78%),
    var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
}

.support-dock-link {
  border-color: rgba(8, 120, 209, 0.14);
  border-radius: 15px;
  background: rgba(250, 253, 255, 0.92);
  box-shadow: 0 16px 38px rgba(24, 54, 79, 0.13);
}

@media (max-width: 980px) {
  .site-header:has(.language-switch) {
    grid-template-columns: minmax(0, 1fr) 46px;
    padding-right: 112px;
  }

  .site-header {
    border-radius: 17px;
  }

  .site-nav {
    background: transparent;
  }

  .site-nav a {
    border-color: rgba(8, 120, 209, 0.1);
    background: rgba(255, 255, 255, 0.82);
  }

  .nav-toggle {
    border-color: rgba(8, 120, 209, 0.14);
    border-radius: 13px;
    background: rgba(226, 242, 250, 0.86);
  }

  .nav-toggle span {
    background: #123652;
  }

  .language-switch {
    position: absolute;
    top: 10px;
    right: 66px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.9) 0%, rgba(248, 252, 255, 0.86) 58%, rgba(248, 252, 255, 0.6) 100%),
      linear-gradient(90deg, rgba(248, 252, 255, 0.94), rgba(248, 252, 255, 0.42));
  }

  .hero-panel {
    gap: 10px;
  }

  .section,
  .band,
  .cta,
  .page-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .page-hero {
    min-height: 310px;
    background:
      linear-gradient(90deg, rgba(248, 252, 255, 0.97), rgba(248, 252, 255, 0.78)),
      var(--page-hero-image, url("heroes/home-hero-v2.webp")) center / cover;
  }

  .service-card,
  .feature-card,
  .work-card,
  .contact-card,
  .blog-card,
  .contact-form,
  .page-form {
    border-radius: 18px;
  }
}

.support-dock {
  display: grid;
  grid-template-columns: 52px;
  width: 52px;
  gap: 8px;
}

@media (max-width: 680px) {
  .support-dock {
    display: grid;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 46px;
    width: 46px;
  }

  .support-dock-link {
    width: 46px;
    min-height: 46px;
    padding: 4px;
  }
}

/* Unified premium footer */
.footer {
  display: block;
  padding: 0 max(4vw, 24px) 22px;
  color: #536b7e;
  border-top: 0;
  background:
    radial-gradient(circle at 8% 35%, rgba(26, 171, 214, .11), transparent 26%),
    linear-gradient(180deg, #f4fafd 0%, #e8f2f7 100%);
}

.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 38px;
  overflow: hidden;
  border: 1px solid rgba(8, 120, 209, .16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(35, 198, 219, .2), transparent 30%),
    linear-gradient(135deg, #fff, #effaff);
  box-shadow: 0 22px 60px rgba(22, 70, 104, .13);
  transform: translateY(-34px);
}

.footer-cta > div { display: grid; gap: 7px; }
.footer-kicker {
  color: #0878d1;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer-cta strong {
  color: #112f48;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.footer-cta p { color: #617689; line-height: 1.6; }
.footer-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 190px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0878d1, #12a5c7);
  box-shadow: 0 13px 30px rgba(8, 120, 209, .22);
  font-size: .9rem;
  font-weight: 900;
}
.footer-cta > a span { font-size: 1.25rem; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(150px, .72fr)) minmax(210px, .9fr);
  gap: 38px 54px;
  max-width: 1180px;
  margin: 2px auto 0;
  padding: 20px 0 42px;
}
.footer-brand,
.footer-links,
.footer-connect { display: grid; align-content: start; gap: 13px; }
.footer-logo { display: block; width: min(230px, 100%); }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-brand > p { max-width: 38ch; color: #5f7587; line-height: 1.7; }
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 4px;
  color: #315a70;
  font-size: .78rem;
  font-weight: 800;
}
.footer-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #21b46b;
  box-shadow: 0 0 0 5px rgba(33, 180, 107, .12);
}
.footer-links strong,
.footer-connect > strong {
  margin-bottom: 3px;
  color: #173d58;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-links a,
.footer-connect > a {
  width: fit-content;
  color: #5a7183;
  font-size: .9rem;
  line-height: 1.45;
}
.footer-links a:hover,
.footer-connect > a:hover { color: #0878d1; transform: translateX(2px); }
.footer-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 120, 209, .15);
  border-radius: 12px;
  color: #17425c;
  background: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 900;
}
.footer-socials svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: currentColor;
}
.footer-social-whatsapp { color: #16864b !important; }
.footer-social-facebook { color: #1769c2 !important; }
.footer-socials a:hover {
  color: #fff !important;
  border-color: transparent;
  transform: translateY(-2px);
}
.footer-social-whatsapp:hover { background: #16864b; }
.footer-social-facebook:hover { background: #1769c2; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 76, 108, .11);
  color: #718697;
  font-size: .78rem;
}
.footer-bottom div { display: flex; align-items: center; gap: 20px; }
.footer-bottom a { color: #315e78; font-weight: 800; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .footer-connect { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .footer { display: block; padding: 0 20px 20px; }
  .footer-cta {
    display: grid;
    gap: 22px;
    padding: 28px 24px;
    border-radius: 20px;
    transform: translateY(-26px);
  }
  .footer-cta > a { width: 100%; min-width: 0; }
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    padding: 8px 0 34px;
  }
  .footer-brand,
  .footer-connect { grid-column: 1 / -1; }
  .footer-bottom { display: grid; justify-content: start; }
  .footer-bottom div { flex-wrap: wrap; gap: 12px 20px; }
}

.footer-connect > .footer-client-login {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(190px, 100%);
  min-height: 46px;
  margin-top: 4px;
  padding: 10px 15px;
  border: 1px solid rgba(8, 120, 209, .2);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #123e5c, #0878d1);
  box-shadow: 0 16px 36px rgba(14, 51, 77, .24);
  font-size: .8rem;
  font-weight: 900;
  text-decoration: none;
}
.footer-client-login span {
  font-size: 1rem;
}
.footer-connect > .footer-client-login:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(14, 51, 77, .3);
}

/* Consistent responsive image sizing */
.brand-logo {
  width: clamp(170px, 18vw, 230px);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.hero {
  min-height: clamp(560px, 68vh, 660px);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.service-card .card-media,
.work-card .card-media,
.blog-card .card-media,
.contact-card .card-media {
  width: 100%;
  height: clamp(180px, 17vw, 235px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.footer-logo {
  width: min(205px, 100%);
}

.footer-logo img {
  width: 100%;
  height: auto;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 680px) {
  .brand-logo {
    width: min(185px, 52vw);
    height: 40px;
  }

  .hero {
    min-height: 520px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .service-card .card-media,
  .work-card .card-media,
  .blog-card .card-media,
  .contact-card .card-media {
    height: clamp(180px, 58vw, 225px);
  }

  .footer-logo {
    width: min(190px, 72vw);
  }
}

/* Logo rendering, heading alignment and resilient image display */
.brand-logo {
  width: clamp(185px, 18vw, 225px);
  height: auto;
  max-height: 60px;
  background: transparent;
  object-fit: contain;
  object-position: left center;
}

.footer-logo,
.footer-logo img {
  background: transparent !important;
  filter: none;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

.page-hero {
  display: grid;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.page-hero > .eyebrow,
.page-hero > h1,
.page-hero > p {
  width: min(100%, 850px);
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-heading,
.intro,
.copy-block {
  text-align: left;
}

.section-heading > h2,
.intro > h2,
.copy-block > h2 {
  max-width: 820px;
  margin-right: auto;
  margin-left: 0;
}

.service-card h3,
.work-card h3,
.blog-card h3,
.contact-card h3,
.service-card > strong,
.work-card > strong,
.blog-card > strong,
.contact-card > strong {
  line-height: 1.3;
  text-align: left;
}

@media (min-width: 681px) {
  .service-card > strong,
  .work-card > strong,
  .blog-card > strong {
    min-height: 2.6em;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    width: min(190px, 54vw);
    max-height: 52px;
  }

  .page-hero > h1 {
    width: 100%;
  }
}
