/*
Theme Name: NeoTelecom Institucional
Theme URI: http://wordpress.neotelecom.com.br/
Author: Codex
Description: Site institucional responsivo para empresa B2B de voz, dados e conectividade.
Version: 1.2.46
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: neotelecom
*/

:root {
  --blue-950: #071b3a;
  --blue-900: #0a2d5f;
  --blue-800: #0d3f86;
  --blue-700: #1052b3;
  --blue-600: #1769dd;
  --blue-100: #eaf3ff;
  --cyan-400: #26c6f9;
  --ink: #102033;
  --muted: #5c6c80;
  --line: #dce7f5;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --shadow: 0 18px 45px rgba(7, 27, 58, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--surface);
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 231, 245, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-950);
  letter-spacing: 0;
}

.brand-logo {
  grid-area: 1 / 1;
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
  transition: height 260ms var(--ease-premium, ease), transform 220ms ease, opacity 240ms ease;
}

.brand-logo-stack {
  display: grid;
  align-items: center;
}

.brand-logo-light {
  opacity: 1;
}

.brand-logo-dark {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-light,
.site-header.is-menu-open .brand-logo-light {
  opacity: 0;
}

.site-header.is-scrolled .brand-logo-dark,
.site-header.is-menu-open .brand-logo-dark {
  opacity: 1;
}

.brand:hover .brand-logo {
  transform: scale(1.02);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  box-shadow: 0 12px 28px rgba(16, 82, 179, 0.24);
}

.brand-name {
  font-size: 1.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #31455d;
  font-size: 0.96rem;
  font-weight: 650;
}

.nav-menu a:hover {
  color: var(--blue-700);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgba(16, 82, 179, 0.24);
}

.button-primary:hover {
  background: var(--blue-800);
}

.button-light {
  color: var(--blue-900);
  background: #fff;
}

.button-outline {
  color: var(--blue-900);
  border-color: rgba(13, 63, 134, 0.22);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: 690px;
  color: #fff;
  background: var(--blue-950);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 27, 58, 0.97) 0%, rgba(7, 27, 58, 0.83) 41%, rgba(7, 27, 58, 0.34) 72%),
    url("assets/hero-connectivity.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 118px;
  content: "";
  background: linear-gradient(180deg, rgba(246, 249, 253, 0), var(--surface));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: 72px 0 96px;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #bfe5ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--cyan-400);
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d7e7f8;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 48px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.metric span {
  display: block;
  margin-top: 5px;
  color: #c7d9ea;
  font-size: 0.88rem;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.54fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 42px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .section-kicker {
  color: #8fdcff;
}

.section-heading h2,
.about-text h2,
.contact-copy h2,
.cta h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-dark h2,
.section-dark .section-heading h2,
.cta h2 {
  color: #fff;
}

.section-heading p,
.about-text p,
.contact-copy p,
.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.data-products-intro {
  max-width: 720px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-dark .section-heading p,
.section-dark .cta p {
  color: #d1e6f8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.segment-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(7, 27, 58, 0.06);
}

.service-card {
  min-height: 250px;
  padding: 26px;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  color: var(--blue-700);
  background: var(--blue-100);
}

.service-card h3,
.segment-card h3,
.differential h3 {
  margin: 0 0 10px;
  color: var(--blue-950);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p,
.segment-card p,
.differential p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 58px;
}

.about-text p {
  margin-top: 18px;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-950);
  font-weight: 750;
}

.proof-item svg {
  flex: 0 0 auto;
  color: var(--blue-700);
}

.about-panel {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(145deg, var(--blue-900), var(--blue-700));
  box-shadow: var(--shadow);
}

.about-panel h3 {
  margin: 0 0 18px;
  font-size: 1.35rem;
}

.about-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-panel li {
  display: flex;
  gap: 12px;
  color: #e2effc;
}

.about-panel svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #8fdcff;
}

.differentials {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.differential {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.differential h3 {
  color: #fff;
}

.differential p {
  color: #cce2f5;
}

.differential .icon-box {
  color: #fff;
  background: rgba(38, 198, 249, 0.18);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.segment-card {
  padding: 24px;
}

.segment-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: var(--blue-700);
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 46px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.cta::after {
  position: absolute;
  right: 42px;
  bottom: -38px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta p {
  max-width: 620px;
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 0.94fr);
  gap: 36px;
}

.contact-copy h2 {
  margin-bottom: 16px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-detail {
  display: flex;
  gap: 12px;
  color: #31455d;
}

.contact-detail svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--blue-700);
}

.contact-card {
  padding: 30px;
}

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

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--blue-950);
  font-size: 0.9rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  outline: none;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(23, 105, 221, 0.12);
}

.site-footer {
  color: #c8d8ea;
  background: var(--blue-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 0.75fr 0.75fr;
  gap: 34px;
  padding: 56px 0;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 14px;
  color: #fff;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: #c8d8ea;
}

.footer-links,
.social-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: #9fb4ca;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 14px;
  }

  .nav-menu {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 18px;
    white-space: nowrap;
  }

  .header-inner > .button {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 27, 58, 0.96) 0%, rgba(7, 27, 58, 0.88) 62%, rgba(7, 27, 58, 0.56) 100%),
      url("assets/hero-connectivity.png") center / cover no-repeat;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-inner {
    padding: 56px 0 88px;
  }

  .hero-actions,
  .cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics,
  .services-grid,
  .proof-list,
  .differentials,
  .segments-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .service-card,
  .differential {
    min-height: auto;
  }

  .cta {
    padding: 30px;
  }

  .contact-card {
    padding: 22px;
  }
}

.page-hero {
  position: relative;
  color: #fff;
  padding: 96px 0 74px;
  background:
    linear-gradient(90deg, rgba(7, 27, 58, 0.96), rgba(10, 45, 95, 0.88)),
    url("assets/hero-connectivity.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: #d7e7f8;
  font-size: 1.12rem;
}

@media (max-width: 680px) {
  .page-hero {
    padding: 72px 0 56px;
  }
}

@keyframes neotelecomFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neotelecomSignalPulse {
  0%, 100% {
    box-shadow: 0 12px 28px rgba(16, 82, 179, 0.24), 0 0 0 0 rgba(38, 198, 249, 0.22);
  }
  50% {
    box-shadow: 0 12px 28px rgba(16, 82, 179, 0.24), 0 0 0 9px rgba(38, 198, 249, 0);
  }
}

main {
  animation: neotelecomFadeUp 520ms ease both;
}

.brand-mark {
  position: relative;
  animation: neotelecomSignalPulse 3.4s ease-in-out infinite;
}

.brand-mark svg {
  transition: transform 220ms ease;
}

.brand:hover .brand-mark svg {
  transform: scale(1.08);
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #31455d;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-menu a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--blue-700);
}

.nav-menu a:hover {
  transform: translateY(-1px);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
}

.nav-menu a.is-active {
  font-weight: 800;
}

.service-card,
.segment-card,
.contact-card,
.differential,
.metric {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover,
.segment-card:hover,
.contact-card:hover {
  border-color: rgba(23, 105, 221, 0.28);
  box-shadow: 0 22px 48px rgba(7, 27, 58, 0.12);
  transform: translateY(-5px);
}

.differential:hover,
.metric:hover {
  border-color: rgba(143, 220, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}

.icon-box svg {
  transition: transform 220ms ease;
}

.service-card:hover .icon-box svg,
.segment-card:hover .icon-box svg,
.differential:hover .icon-box svg {
  transform: translateY(-2px) scale(1.08);
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.26) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
}

.button:hover::after {
  transform: translateX(130%);
}

.hero-content,
.page-hero .container,
.section-heading,
.services-grid,
.about-grid,
.differentials,
.segments-grid,
.contact-grid,
.cta {
  animation: neotelecomFadeUp 640ms ease both;
}

.services-grid,
.about-grid,
.differentials,
.segments-grid,
.contact-grid,
.cta {
  animation-delay: 90ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.contact-grid-simple {
  align-items: center;
}

.contact-direct-card {
  display: grid;
  gap: 16px;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.direct-contact-item:hover {
  border-color: rgba(23, 105, 221, 0.28);
  box-shadow: 0 18px 42px rgba(7, 27, 58, 0.1);
  transform: translateY(-3px);
}

.direct-contact-item .icon-box {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.direct-contact-item strong,
.direct-contact-item em {
  display: block;
}

.direct-contact-item strong {
  color: var(--blue-950);
  font-size: 0.92rem;
}

.direct-contact-item em {
  margin-top: 3px;
  color: var(--blue-700);
  font-style: normal;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 800;
  word-break: break-word;
}

@keyframes neotelecomScanLine {
  from {
    transform: translateX(-20%);
    opacity: 0.35;
  }
  50% {
    opacity: 0.95;
  }
  to {
    transform: translateX(20%);
    opacity: 0.35;
  }
}

@keyframes neotelecomSoftGlow {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

.hero {
  --hero-shift: 0px;
}

.hero::before {
  background-position: center calc(50% + var(--hero-shift));
  transition: background-position 120ms linear;
}

.hero .container::before,
.page-hero .container::before {
  position: absolute;
  right: min(8vw, 90px);
  bottom: 82px;
  width: min(36vw, 420px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(143, 220, 255, 0.85), transparent);
  animation: neotelecomScanLine 4.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero .container::after,
.page-hero .container::after {
  position: absolute;
  right: min(18vw, 260px);
  bottom: 118px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 999px;
  background: var(--cyan-400);
  box-shadow: 0 0 0 7px rgba(38, 198, 249, 0.12), 0 0 26px rgba(38, 198, 249, 0.75);
  animation: neotelecomSoftGlow 2.8s ease-in-out infinite;
  pointer-events: none;
}

.hero .container,
.page-hero .container {
  position: relative;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card,
.segment-card,
.contact-card,
.differential,
.direct-contact-item {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.segment-card::before,
.contact-card::before,
.direct-contact-item::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(23, 105, 221, 0.18), transparent 38%, rgba(38, 198, 249, 0.16));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.service-card:hover::before,
.segment-card:hover::before,
.contact-card:hover::before,
.direct-contact-item:hover::before {
  opacity: 1;
}

.differential::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(38, 198, 249, 0.16), transparent 52%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.differential:hover::before {
  opacity: 1;
}

.service-card > *,
.segment-card > *,
.contact-card > *,
.differential > *,
.direct-contact-item > * {
  position: relative;
  z-index: 1;
}

.metric strong {
  color: #fff;
  text-shadow: 0 0 18px rgba(143, 220, 255, 0.32);
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(38, 198, 249, 0.7), transparent);
}

@media (max-width: 680px) {
  .hero .container::before,
  .hero .container::after,
  .page-hero .container::before,
  .page-hero .container::after {
    display: none;
  }
}

/* Premium refinement */
body {
  background: #fff;
}

.site-header {
  box-shadow: 0 10px 34px rgba(7, 27, 58, 0.06);
}

.premium-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 54px;
}

.premium-hero .hero-inner.hero-inner-single {
  grid-template-columns: minmax(0, 760px);
}

.hero-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-panel h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.45rem;
}

.hero-panel p {
  margin: 0 0 22px;
  color: #d7e7f8;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #edf7ff;
  font-weight: 750;
}

.hero-panel svg {
  flex: 0 0 auto;
  color: var(--cyan-400);
}

.premium-grid .service-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  color: var(--blue-700);
  font-weight: 800;
}

.service-card a::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform 180ms ease;
}

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

.premium-about .about-panel {
  background:
    linear-gradient(145deg, rgba(10, 45, 95, 0.96), rgba(16, 82, 179, 0.94)),
    radial-gradient(circle at top right, rgba(38, 198, 249, 0.2), transparent 34%);
}

.premium-cta {
  box-shadow: 0 24px 70px rgba(7, 27, 58, 0.16);
}

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

.premium-cta .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.lead-card {
  border-top: 4px solid var(--blue-700);
}

.lead-card .button {
  width: 100%;
}

.contact-details {
  margin-top: 30px;
}

.footer-grid {
  align-items: start;
}

.page-hero {
  padding: 110px 0 86px;
}

.page-hero h1 {
  max-width: 920px;
}

.company-profile-section {
  background:
    radial-gradient(circle at 88% 16%, rgba(38, 198, 249, 0.1), transparent 30%),
    #fff;
}

.company-profile-content {
  max-width: 980px;
}

.company-profile-content p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.82;
}

.company-profile-content .company-profile-lead {
  margin-bottom: 24px;
  color: var(--blue-950);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.company-profile-content h2 {
  margin: 58px 0 22px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.012em;
}

.company-profile-content h2::before {
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 18px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-700));
}

.company-profile-content h2 ~ p + p {
  margin-top: 22px;
}

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

  .hero-panel {
    max-width: 620px;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero-panel {
    padding: 22px;
  }

  .premium-grid .service-card {
    min-height: auto;
  }

  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }
}

/* Premium UI pass */
:root {
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 10px 28px rgba(7, 27, 58, 0.08);
  --shadow-md: 0 18px 48px rgba(7, 27, 58, 0.12);
  --shadow-lg: 0 28px 80px rgba(7, 27, 58, 0.18);
  --focus-ring: 0 0 0 4px rgba(38, 198, 249, 0.28);
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-shell {
  background:
    radial-gradient(circle at 12% 8%, rgba(38, 198, 249, 0.08), transparent 26rem),
    radial-gradient(circle at 88% 22%, rgba(23, 105, 221, 0.07), transparent 28rem),
    var(--surface);
}

.site-header {
  border-bottom-color: rgba(220, 231, 245, 0.72);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 rgba(7, 27, 58, 0);
  transition: min-height 260ms var(--ease-premium), background 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), border-color 260ms var(--ease-premium), backdrop-filter 260ms var(--ease-premium);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(220, 231, 245, 0.64);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 42px rgba(7, 27, 58, 0.1);
  backdrop-filter: blur(22px) saturate(150%);
}

.header-inner {
  transition: min-height 260ms var(--ease-premium), padding 260ms var(--ease-premium), gap 260ms var(--ease-premium);
}

.site-header.is-scrolled .header-inner {
  min-height: 62px;
}

.site-header.is-scrolled .brand-logo {
  height: 50px;
}

.brand-mark {
  transition: width 260ms var(--ease-premium), height 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), transform 260ms var(--ease-premium);
}

.site-header.is-scrolled .brand-mark {
  width: 38px;
  height: 38px;
  box-shadow: 0 10px 24px rgba(16, 82, 179, 0.2);
}

.nav-menu a,
.footer-links a,
.social-links a {
  outline: none;
}

.nav-menu a:focus-visible,
.footer-links a:focus-visible,
.social-links a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.service-card a:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible {
  border-radius: var(--radius);
  box-shadow: var(--focus-ring);
  outline: 2px solid transparent;
  outline-offset: 3px;
}

.button {
  min-height: 48px;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 240ms var(--ease-premium), box-shadow 240ms var(--ease-premium), background 240ms var(--ease-premium), border-color 240ms var(--ease-premium), color 240ms var(--ease-premium);
  will-change: transform;
}

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

.button:active {
  transform: translateY(0) scale(0.985);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  box-shadow: 0 14px 30px rgba(16, 82, 179, 0.28), 0 1px 0 rgba(255, 255, 255, 0.16) inset;
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  box-shadow: 0 18px 42px rgba(16, 82, 179, 0.34), 0 0 24px rgba(38, 198, 249, 0.16);
}

.button-light:hover,
.button-outline:hover {
  border-color: rgba(38, 198, 249, 0.38);
  box-shadow: 0 16px 36px rgba(7, 27, 58, 0.12), 0 0 18px rgba(38, 198, 249, 0.12);
}

.button::after {
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.34) 43%, transparent 68%);
  transition: transform 620ms var(--ease-premium);
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(38, 198, 249, 0.24), transparent 28rem),
    linear-gradient(145deg, var(--blue-950) 0%, var(--blue-900) 52%, #061429 100%);
  isolation: isolate;
}

.hero::before {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.02);
}

.hero::after {
  height: 148px;
  background:
    linear-gradient(180deg, rgba(246, 249, 253, 0), rgba(246, 249, 253, 0.76) 74%, var(--surface));
}

.hero-inner::before {
  position: absolute;
  right: -10vw;
  top: 14%;
  width: min(46vw, 560px);
  height: min(46vw, 560px);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 198, 249, 0.18), rgba(23, 105, 221, 0.09) 42%, transparent 68%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-content {
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.hero h1 {
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-copy,
.page-hero p:not(.eyebrow),
.section-heading p,
.about-text p,
.contact-copy p,
.cta p {
  line-height: 1.72;
}

.hero-panel,
.about-panel,
.cta {
  transform: translateZ(0);
}

.hero-panel {
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 280ms var(--ease-premium), box-shadow 280ms var(--ease-premium), border-color 280ms var(--ease-premium);
  animation: neotelecomPanelFloat 7s var(--ease-premium) infinite;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 48%, rgba(38, 198, 249, 0.1));
  opacity: 0.76;
  pointer-events: none;
}

.hero-panel:hover {
  border-color: rgba(143, 220, 255, 0.34);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32), 0 0 42px rgba(38, 198, 249, 0.12);
  transform: translateY(-4px);
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.metric {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
  transition: transform 240ms var(--ease-premium), box-shadow 240ms var(--ease-premium), border-color 240ms var(--ease-premium), background 240ms var(--ease-premium);
}

.metric:hover {
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.18), 0 0 24px rgba(38, 198, 249, 0.1);
  transform: translateY(-4px) scale(1.02);
}

.section {
  padding: clamp(76px, 8vw, 112px) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(246, 249, 253, 0.82), var(--surface-soft)),
    radial-gradient(circle at 8% 12%, rgba(38, 198, 249, 0.08), transparent 22rem);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(38, 198, 249, 0.18), transparent 26rem),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}

.section-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  pointer-events: none;
}

.section-heading {
  gap: clamp(28px, 5vw, 56px);
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-heading h2,
.about-text h2,
.contact-copy h2,
.cta h2,
.page-hero h1 {
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.service-card,
.segment-card,
.contact-card,
.direct-contact-item {
  border-color: rgba(220, 231, 245, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), border-color 260ms var(--ease-premium), background 260ms var(--ease-premium);
  will-change: transform;
}

.service-card:hover,
.segment-card:hover,
.contact-card:hover,
.direct-contact-item:hover {
  border-color: rgba(23, 105, 221, 0.32);
  box-shadow: var(--shadow-md), 0 0 32px rgba(38, 198, 249, 0.08);
  transform: translateY(-6px) scale(1.02);
}

.differential:hover {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18), 0 0 28px rgba(38, 198, 249, 0.1);
  transform: translateY(-5px) scale(1.02);
}

.icon-box {
  box-shadow: 0 12px 26px rgba(16, 82, 179, 0.12);
  transition: transform 240ms var(--ease-premium), box-shadow 240ms var(--ease-premium), background 240ms var(--ease-premium), color 240ms var(--ease-premium);
}

.icon-box svg,
.proof-item svg,
.contact-detail svg,
.hero-panel svg {
  width: 24px;
  height: 24px;
  transition: transform 240ms var(--ease-premium), color 240ms var(--ease-premium), filter 240ms var(--ease-premium);
}

.proof-item:hover svg,
.contact-detail:hover svg,
.hero-panel li:hover svg {
  filter: drop-shadow(0 0 10px rgba(38, 198, 249, 0.32));
  transform: scale(1.08) rotate(-2deg);
}

.service-card:hover .icon-box,
.segment-card:hover .icon-box,
.differential:hover .icon-box,
.direct-contact-item:hover .icon-box {
  box-shadow: 0 16px 34px rgba(16, 82, 179, 0.18), 0 0 20px rgba(38, 198, 249, 0.12);
  transform: translateY(-2px);
}

.segment-card span {
  box-shadow: 0 12px 28px rgba(16, 82, 179, 0.24);
}

.about-panel {
  box-shadow: var(--shadow-lg);
}

.cta {
  box-shadow: var(--shadow-lg), 0 0 46px rgba(38, 198, 249, 0.08);
}

.field input,
.field textarea {
  transition: border-color 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium), background 220ms var(--ease-premium);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(23, 105, 221, 0.28);
}

.footer-links a,
.social-links a {
  transition: color 220ms var(--ease-premium), transform 220ms var(--ease-premium);
}

.footer-links a:hover,
.social-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.reveal-ready {
  transition: opacity 680ms var(--ease-premium) var(--reveal-delay, 0ms), transform 680ms var(--ease-premium) var(--reveal-delay, 0ms), filter 680ms var(--ease-premium) var(--reveal-delay, 0ms);
  filter: blur(4px);
}

.reveal-ready.is-visible {
  filter: blur(0);
}

.hero-content > .reveal-ready:nth-child(1) {
  transform: translateY(14px);
}

.hero-content > .reveal-ready:nth-child(2) {
  transform: translateY(20px) scale(0.985);
}

.hero-content > .reveal-ready:nth-child(3),
.hero-content > .reveal-ready:nth-child(4),
.hero-content > .reveal-ready:nth-child(5) {
  transform: translateY(24px);
}

.hero-content > .reveal-ready.is-visible {
  transform: translateY(0) scale(1);
}

@keyframes neotelecomPanelFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 980px) {
  .site-header.is-scrolled .header-inner {
    min-height: auto;
    padding: 12px 0;
  }

  .header-inner {
    gap: 12px;
  }

  .nav-menu {
    scrollbar-width: thin;
  }

  .hero-inner::before {
    right: -32vw;
    top: 8%;
    width: 78vw;
    height: 78vw;
  }

  .premium-hero .hero-inner {
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    background: rgba(255, 255, 255, 0.92);
  }

  .header-inner {
    padding: 14px 0;
  }

  .brand-mark,
  .site-header.is-scrolled .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-menu a {
    min-height: 42px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 58px 0 92px;
  }

  .hero h1 {
    font-size: clamp(2.32rem, 12vw, 3.6rem);
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-metrics {
    gap: 12px;
    margin-top: 34px;
  }

  .metric,
  .service-card,
  .segment-card,
  .contact-card,
  .differential {
    transform: none !important;
  }

  .service-card:hover,
  .segment-card:hover,
  .contact-card:hover,
  .differential:hover {
    transform: translateY(-3px) !important;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading p,
  .about-text p,
  .contact-copy p,
  .cta p {
    font-size: 1rem;
  }

  .service-card,
  .segment-card,
  .contact-card,
  .differential,
  .direct-contact-item {
    padding: 24px;
  }

  .cta {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel {
    animation: none !important;
  }

  .button,
  .service-card,
  .segment-card,
  .contact-card,
  .differential,
  .metric,
  .icon-box {
    will-change: auto;
  }
}

/* Footer alignment after social/address cleanup */
.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  text-align: center;
}

.footer-links {
  justify-items: center;
}

.footer-bottom {
  text-align: center;
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Modern motion, social proof and testimonials */
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.85rem, 6.4vw, 5.45rem);
  line-height: 0.98;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-copy {
  max-width: 650px;
  margin-top: 26px;
  color: #e4f1ff;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  gap: 16px;
  margin-top: 38px;
}

.hero-actions .button {
  min-width: 190px;
}

.section {
  padding: clamp(84px, 8.4vw, 124px) 0;
}

.section-heading {
  margin-bottom: clamp(40px, 5.4vw, 64px);
}

.icon-box {
  width: 56px;
  height: 56px;
}

.icon-box svg,
.proof-item svg,
.contact-detail svg,
.hero-panel svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .icon-box,
.segment-card:hover .icon-box,
.differential:hover .icon-box,
.direct-contact-item:hover .icon-box,
.social-proof-card:hover .icon-box {
  color: var(--blue-700);
  filter: drop-shadow(0 10px 18px rgba(16, 82, 179, 0.2));
  transform: translateY(-3px) scale(1.06);
}

.social-proof-section {
  position: relative;
  overflow: hidden;
  margin-top: -34px;
  padding-top: clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 14% 16%, rgba(38, 198, 249, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--surface), #f9fbff 48%, var(--surface));
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.social-proof-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(220, 231, 245, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), border-color 260ms var(--ease-premium), background 260ms var(--ease-premium);
}

.social-proof-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(145deg, rgba(23, 105, 221, 0.14), transparent 48%, rgba(38, 198, 249, 0.16));
  opacity: 0;
  transition: opacity 260ms var(--ease-premium);
  pointer-events: none;
}

.social-proof-card:hover {
  border-color: rgba(23, 105, 221, 0.32);
  background: #fff;
  box-shadow: var(--shadow-md), 0 0 30px rgba(38, 198, 249, 0.08);
  transform: translateY(-6px) scale(1.02);
}

.social-proof-card:hover::before {
  opacity: 1;
}

.social-proof-card > * {
  position: relative;
  z-index: 1;
}

.social-proof-card strong {
  display: block;
  color: var(--blue-800);
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 12px 28px rgba(16, 82, 179, 0.1);
}

.social-proof-card h3 {
  margin: 18px 0 10px;
  color: var(--blue-950);
  font-size: 1.08rem;
  line-height: 1.25;
}

.social-proof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.66;
}

.testimonials-section {
  overflow: hidden;
}

.testimonials-layout {
  position: relative;
}

.testimonials-carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.testimonial-track {
  display: flex;
  transition: transform 520ms var(--ease-premium);
  will-change: transform;
}

.testimonial-card {
  position: relative;
  flex: 0 0 100%;
  min-height: 330px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(220, 231, 245, 0.96);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.96)),
    radial-gradient(circle at top right, rgba(38, 198, 249, 0.12), transparent 20rem);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  position: absolute;
  top: 28px;
  right: 34px;
  content: "\201C";
  color: rgba(23, 105, 221, 0.12);
  font-size: 7rem;
  line-height: 1;
  font-weight: 800;
  pointer-events: none;
}

.testimonial-rating {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--cyan-400);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-shadow: 0 0 18px rgba(38, 198, 249, 0.28);
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0;
  color: #263b52;
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  line-height: 1.7;
}

.testimonial-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  letter-spacing: 0.04em;
  background:
    linear-gradient(135deg, rgba(38, 198, 249, 0.95), rgba(16, 82, 179, 0.98)),
    var(--blue-700);
  box-shadow: 0 16px 34px rgba(16, 82, 179, 0.22);
}

.testimonial-author strong,
.testimonial-author em {
  display: block;
}

.testimonial-author strong {
  color: var(--blue-950);
  font-size: 1.02rem;
}

.testimonial-author em {
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.94rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonial-control,
.testimonial-dots button {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(13, 63, 134, 0.18);
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 220ms var(--ease-premium), box-shadow 220ms var(--ease-premium), border-color 220ms var(--ease-premium), background 220ms var(--ease-premium), color 220ms var(--ease-premium);
}

.testimonial-control {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.1rem;
}

.testimonial-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.testimonial-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.testimonial-control:hover,
.testimonial-dots button:hover,
.testimonial-dots button.is-active {
  border-color: rgba(38, 198, 249, 0.5);
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  box-shadow: 0 14px 30px rgba(16, 82, 179, 0.22), 0 0 18px rgba(38, 198, 249, 0.16);
  transform: translateY(-2px);
}

.testimonial-control:focus-visible,
.testimonial-dots button:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}

.reveal-ready {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 700ms var(--ease-premium) var(--reveal-delay, 0ms), transform 700ms var(--ease-premium) var(--reveal-delay, 0ms), filter 700ms var(--ease-premium) var(--reveal-delay, 0ms);
}

.reveal-ready[data-reveal="up"] {
  transform: translate3d(0, 28px, 0) scale(0.985);
}

.reveal-ready[data-reveal="left"] {
  transform: translate3d(-30px, 14px, 0);
}

.reveal-ready[data-reveal="right"] {
  transform: translate3d(30px, 14px, 0);
}

.reveal-ready.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 980px) {
  .social-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-carousel {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.72rem);
  }

  .hero-actions .button {
    min-width: 0;
  }

  .section {
    padding: 72px 0;
  }

  .social-proof-section {
    margin-top: 0;
  }

  .social-proof-grid {
    grid-template-columns: 1fr;
  }

  .social-proof-card {
    min-height: auto;
    padding: 24px;
  }

  .testimonial-card {
    min-height: 360px;
  }

  .testimonial-card::before {
    top: 18px;
    right: 22px;
    font-size: 5.5rem;
  }

  .testimonial-author {
    align-items: flex-start;
  }

  .testimonial-avatar {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    transition: none !important;
    will-change: auto;
  }

  .reveal-ready {
    filter: none !important;
  }
}

/* Premium responsive navbar redesign */
body.nav-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0);
  box-shadow: none;
  backdrop-filter: blur(0) saturate(100%);
  transition: background 300ms var(--ease-premium), border-color 300ms var(--ease-premium), box-shadow 300ms var(--ease-premium), backdrop-filter 300ms var(--ease-premium);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: rgba(220, 231, 245, 0.7);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(7, 27, 58, 0.1);
  backdrop-filter: blur(22px) saturate(155%);
}

.header-inner {
  min-height: 78px;
  gap: 28px;
  transition: min-height 300ms var(--ease-premium), padding 300ms var(--ease-premium), gap 300ms var(--ease-premium);
}

.site-header.is-scrolled .header-inner {
  min-height: 70px;
}

.brand {
  position: relative;
  z-index: 1002;
  color: #fff;
  transition: color 300ms var(--ease-premium), transform 300ms var(--ease-premium);
}

.site-header.is-scrolled .brand,
.site-header.is-menu-open .brand {
  color: var(--blue-950);
}

.brand:hover {
  transform: translateY(-1px);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-left: auto;
}

.nav-menu {
  gap: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.site-header.is-scrolled .nav-menu,
.site-header.is-menu-open .nav-menu {
  color: #31455d;
}

.nav-menu a {
  min-height: 42px;
  color: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  transition: color 240ms var(--ease-premium), transform 240ms var(--ease-premium);
}

.nav-menu a::after {
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan-400));
  transform-origin: left center;
  transition: transform 260ms var(--ease-premium);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--cyan-400);
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-menu a:hover,
.site-header.is-scrolled .nav-menu a.is-active,
.site-header.is-menu-open .nav-menu a:hover,
.site-header.is-menu-open .nav-menu a.is-active {
  color: var(--blue-700);
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 260ms var(--ease-premium), box-shadow 260ms var(--ease-premium), background 260ms var(--ease-premium), border-color 260ms var(--ease-premium);
}

.nav-cta:hover {
  box-shadow: 0 18px 42px rgba(16, 82, 179, 0.34), 0 0 22px rgba(38, 198, 249, 0.16);
  transform: translateY(-1px) scale(1.03);
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(7, 27, 58, 0.1);
  cursor: pointer;
  transition: transform 240ms var(--ease-premium), border-color 240ms var(--ease-premium), background 240ms var(--ease-premium), box-shadow 240ms var(--ease-premium);
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-menu-open .nav-toggle {
  border-color: rgba(13, 63, 134, 0.18);
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.86);
}

.nav-toggle:hover {
  box-shadow: 0 16px 34px rgba(16, 82, 179, 0.18);
  transform: translateY(-1px) scale(1.03);
}

.nav-toggle span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 260ms var(--ease-premium), opacity 200ms var(--ease-premium);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .header-inner,
  .site-header.is-scrolled .header-inner {
    flex-direction: row;
    align-items: center;
    min-height: 72px;
    padding: 0;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 18px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    border-bottom: 1px solid rgba(220, 231, 245, 0.78);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 54px rgba(7, 27, 58, 0.12);
    backdrop-filter: blur(22px) saturate(155%);
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 300ms var(--ease-premium), opacity 240ms var(--ease-premium), transform 300ms var(--ease-premium), padding 300ms var(--ease-premium);
  }

  body.admin-bar .nav-panel {
    top: 118px;
  }

  .site-header.is-menu-open .nav-panel {
    max-height: calc(100vh - 72px);
    padding: 16px 20px 22px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu {
    display: grid;
    width: min(100% - 8px, var(--container));
    margin: 0 auto;
    gap: 4px;
    overflow: visible;
    padding: 0;
    color: #31455d;
    white-space: normal;
  }

  .nav-menu a {
    min-height: 48px;
    justify-content: flex-start;
    border-radius: var(--radius);
    padding: 0 12px;
    color: #31455d;
  }

  .nav-menu a::after {
    right: auto;
    bottom: 8px;
    left: 12px;
    width: 42px;
  }

  .nav-menu a:hover,
  .nav-menu a.is-active {
    color: var(--blue-700);
    background: rgba(234, 243, 255, 0.72);
  }

  .nav-cta {
    width: min(100% - 8px, var(--container));
    margin: 0 auto;
    min-height: 50px;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .site-header.is-scrolled .header-inner {
    min-height: 68px;
  }

  .nav-panel {
    top: 68px;
  }

  body.admin-bar .nav-panel {
    top: 114px;
  }

  .site-header.is-menu-open .nav-panel {
    max-height: calc(100vh - 68px);
  }
}

/* Grades de produtos das páginas de Voz, Dados e Conectividade */
#produtos-voz .services-grid,
#produtos-dados .services-grid,
#produtos-conectividade .services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

#produtos-voz .service-card,
#produtos-dados .service-card,
#produtos-conectividade .service-card {
  min-height: 360px;
  padding: 38px;
}

#produtos-voz .service-card h3,
#produtos-dados .service-card h3,
#produtos-conectividade .service-card h3 {
  font-size: 1.4rem;
}

#produtos-voz .service-card p,
#produtos-dados .service-card p,
#produtos-conectividade .service-card p {
  font-size: 1.05rem;
  line-height: 1.75;
}

#produtos-voz .service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 38px) / 2);
}

@media (max-width: 760px) {
  #produtos-voz .services-grid,
  #produtos-dados .services-grid,
  #produtos-conectividade .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #produtos-voz .service-card,
  #produtos-dados .service-card,
  #produtos-conectividade .service-card {
    min-height: 320px;
    padding: 30px;
  }

  #produtos-voz .service-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

/* Atalho flutuante para atendimento pelo WhatsApp */
.whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #18b957 100%);
  box-shadow: 0 12px 28px rgba(8, 94, 43, 0.24), 0 3px 8px rgba(7, 27, 58, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-float svg {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}

.whatsapp-float:hover {
  color: #fff;
  box-shadow: 0 16px 34px rgba(8, 94, 43, 0.3), 0 4px 10px rgba(7, 27, 58, 0.14);
  filter: brightness(1.03);
  transform: translateY(-2px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.42), 0 14px 34px rgba(8, 94, 43, 0.3);
}

@media (max-width: 680px) {
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    min-height: 0;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* Aviso de cookies e Termos de Uso */
.footer-legal-link {
  width: fit-content;
  margin: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 220ms var(--ease-premium), transform 220ms var(--ease-premium);
}

.footer-legal-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-legal-link:focus-visible,
.cookie-button:focus-visible,
.cookie-banner-close:focus-visible,
.terms-dialog-close:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 10px max(56px, calc((100vw - var(--container)) / 2));
  color: #fff;
  background: rgba(7, 27, 58, 0.98);
  box-shadow: 0 -10px 34px rgba(7, 27, 58, 0.22);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 15px;
  color: #fff;
  background: #1769dd;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.cookie-button:hover {
  background: #1052b3;
  box-shadow: 0 8px 20px rgba(23, 105, 221, 0.3);
  transform: translateY(-1px);
}

.cookie-button-secondary {
  color: #071b3a;
  background: #26c6f9;
}

.cookie-button-secondary:hover {
  color: #fff;
  background: #0d3f86;
}

.cookie-banner-close,
.terms-dialog-close {
  display: grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.cookie-banner-close {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 36px;
  height: 36px;
  color: #b9d9ff;
  font-size: 1.55rem;
  transform: translateY(-50%);
}

.cookie-banner-close:hover {
  color: #fff;
}

body.cookie-banner-visible .whatsapp-float {
  bottom: max(82px, calc(82px + env(safe-area-inset-bottom)));
}

body.terms-dialog-open {
  overflow: hidden;
}

.terms-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: 920px;
  max-height: min(84vh, 820px);
  margin: auto;
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: #243247;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 14, 31, 0.38);
}

.terms-dialog::backdrop {
  background: rgba(3, 12, 28, 0.72);
  backdrop-filter: blur(5px);
}

.terms-dialog-panel {
  display: flex;
  flex-direction: column;
  max-height: min(84vh, 820px);
}

.terms-dialog-header,
.terms-dialog-footer {
  flex: 0 0 auto;
  padding: 20px 28px;
  background: #fff;
}

.terms-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e4ebf4;
}

.terms-dialog-kicker {
  margin: 0 0 2px;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terms-dialog h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.terms-dialog-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #51657d;
  background: #f0f5fb;
  font-size: 1.7rem;
}

.terms-dialog-close:hover {
  color: var(--blue-800);
  background: #e4eef9;
}

.terms-dialog-content {
  overflow-y: auto;
  padding: 26px 28px 20px;
  overscroll-behavior: contain;
  scrollbar-color: #9fb4ca #edf3f9;
}

.terms-dialog-content h3 {
  margin: 26px 0 10px;
  color: var(--blue-950);
  font-size: 1.08rem;
}

.terms-dialog-content h3:first-of-type {
  margin-top: 20px;
}

.terms-dialog-content p {
  margin: 0 0 12px;
  color: #405168;
  font-size: 0.96rem;
  line-height: 1.72;
}

.terms-dialog-content a {
  color: var(--blue-700);
  font-weight: 700;
}

.terms-dialog-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #e4ebf4;
}

@media (max-width: 860px) {
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px 54px 14px 18px;
  }

  .cookie-banner p {
    text-align: left;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-button {
    flex: 1;
  }

  body.cookie-banner-visible .whatsapp-float {
    bottom: max(150px, calc(150px + env(safe-area-inset-bottom)));
  }
}

@media (max-width: 520px) {
  .terms-dialog {
    width: calc(100% - 20px);
    max-height: 90vh;
    border-radius: 14px;
  }

  .terms-dialog-panel {
    max-height: 90vh;
  }

  .terms-dialog-header,
  .terms-dialog-footer {
    padding: 16px 18px;
  }

  .terms-dialog-content {
    padding: 20px 18px 14px;
  }

  .terms-dialog-content p {
    font-size: 0.91rem;
    line-height: 1.62;
  }
}
