/* =============================================
   NEXAGE WEB SOLUTIONS — MAIN STYLESHEET
   ============================================= */
:root {
  --navy: #050B18;
  --navy-2: #0A1628;
  --navy-3: #0F2044;
  --blue-1: #1A56DB;
  --blue-2: #2563EB;
  --blue-3: #3B82F6;
  --blue-4: #60A5FA;
  --blue-glow: rgba(37, 99, 235, .25);
  --orange-1: #EA580C;
  --orange-2: #F97316;
  --orange-3: #FB923C;
  --orange-glow: rgba(249, 115, 22, .25);
  --white: #FFFFFF;
  --gray-1: #F8FAFC;
  --gray-2: #F1F5F9;
  --gray-3: #E2E8F0;
  --gray-4: #94A3B8;
  --gray-5: #64748B;
  --text-dark: #0F172A;
  --text-body: #334155;
  --grad-hero: linear-gradient(135deg, #050B18 0%, #0A1628 55%, #0F2044 100%);
  --grad-blue: linear-gradient(135deg, #1A56DB, #3B82F6);
  --grad-orange: linear-gradient(135deg, #EA580C, #FB923C);
  --section-pad: 5.5rem 0;
  --container: 1200px;
  --grid-gap: 3.5rem;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --sh-sm: 0 1px 3px rgba(0, 0, 0, .12);
  --sh-md: 0 4px 20px rgba(0, 0, 0, .15);
  --sh-lg: 0 20px 60px rgba(0, 0, 0, .3);
  --sh-blue: 0 8px 32px rgba(37, 99, 235, .25);
  --sh-or: 0 8px 32px rgba(249, 115, 22, .25);
  --t-fast: .2s ease;
  --t-med: .3s ease;
  --t-slow: .5s ease;
  --nav-h: 72px;
}

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

html,
body {
  overflow-x: hidden;
  width: 100% !important;
  position: relative
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  width: 100% !important
}

.navbar {
  overflow: hidden
}

img {
  max-width: 100%;
  height: auto
}

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

ul {
  list-style: none
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

input,
textarea,
select {
  font-family: inherit
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.2;
  color: var(--text-dark)
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700
}

h4 {
  font-size: 1.15rem;
  font-weight: 600
}

.section-title {
  text-align: center;
  margin-bottom: .75rem
}

.section-subtitle {
  text-align: center;
  color: var(--gray-5);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto
}

.gradient-text {
  background: var(--grad-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.orange-text {
  color: var(--orange-2)
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem
}

section {
  padding: var(--section-pad)
}

.section-dark {
  background: var(--grad-hero);
  color: var(--white)
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white)
}

.section-dark p {
  color: rgba(255, 255, 255, .72)
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, .6)
}

.section-gray {
  background: var(--gray-1)
}

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(37, 99, 235, .1);
  color: var(--blue-3);
  border: 1px solid rgba(37, 99, 235, .25);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 1.25rem
}

.badge-dark {
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .8) !important;
  border-color: rgba(255, 255, 255, .15) !important
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-3);
  border-radius: 50%;
  animation: pulse 2s infinite
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .95rem;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--t-med);
  cursor: pointer;
  white-space: nowrap;
  border: none
}

.btn-primary {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: var(--sh-blue)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, .4)
}

.btn-orange {
  background: var(--grad-orange);
  color: var(--white);
  box-shadow: var(--sh-or)
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, .4)
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px)
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .6);
  transform: translateY(-2px)
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, .3)
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, .4)
}

.btn-sm {
  padding: .6rem 1.25rem;
  font-size: .85rem
}

.btn-ghost {
  background: transparent;
  color: var(--blue-2);
  padding: .75rem 1.25rem
}

.btn-ghost:hover {
  color: var(--blue-3)
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--t-med);
  overflow: visible !important
}

.navbar.menu-open {
  background: rgba(5, 11, 24, 0.99) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar.scrolled {
  background: rgba(5, 11, 24, .94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3)
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow: visible !important
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1
}

.logo-main {
  font-family: 'Syne', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em
}

.logo-nex {
  color: var(--white)
}

.logo-age {
  color: var(--orange-2)
}

.logo-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: .58rem;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .15em;
  text-transform: uppercase
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem
}

.nav-links a {
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
  font-weight: 500;
  padding: .5rem .8rem;
  border-radius: var(--r-sm);
  transition: all var(--t-fast)
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .08)
}

.nav-cta {
  background: var(--grad-blue);
  color: var(--white);
  padding: .6rem 1.4rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .875rem;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--t-med);
  box-shadow: var(--sh-blue);
  margin-left: .75rem;
  white-space: nowrap
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, .4)
}

.nav-toggle {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  padding: .25rem;
  line-height: 1
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .65);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.75;
  max-width: 280px;
  margin-top: .75rem
}

.footer-col h5 {
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: .82rem;
  margin-bottom: 1.2rem;
  letter-spacing: .1em;
  text-transform: uppercase
}

.footer-col ul li {
  margin-bottom: .55rem
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .55);
  font-size: .875rem;
  transition: color var(--t-fast)
}

.footer-col ul li a:hover {
  color: var(--blue-3)
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .7rem;
  font-size: .875rem
}

.footer-contact-item .icon {
  color: var(--orange-2);
  flex-shrink: 0;
  margin-top: 2px
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .55);
  transition: color var(--t-fast)
}

.footer-contact-item a:hover {
  color: var(--white)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35)
}

.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h)
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .45
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  word-break: break-word;
  overflow-wrap: break-word
}

.hero h1 .hi-light {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
  overflow-wrap: break-word
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem
}

.hero-trust {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap
}

.trust-item {
  display: flex;
  flex-direction: column
}

.trust-number {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1
}

.trust-label {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .2rem
}

.page-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, .12) 0%, transparent 60%)
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem
}

.page-hero p {
  color: rgba(255, 255, 255, .68);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative
}

.workflow-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-2), var(--orange-2));
  z-index: 0
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1
}

.workflow-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--white);
  border: 3px solid var(--white);
  position: relative
}

.workflow-step:nth-child(odd) .workflow-icon {
  background: var(--grad-blue);
  box-shadow: var(--sh-blue)
}

.workflow-step:nth-child(even) .workflow-icon {
  background: var(--grad-orange);
  box-shadow: var(--sh-or)
}

.workflow-step-num {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center
}

.workflow-step h4 {
  margin-bottom: .5rem;
  font-size: .95rem
}

.workflow-step p {
  font-size: .85rem;
  color: var(--gray-5);
  line-height: 1.5
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med)
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-blue);
  border-color: rgba(37, 99, 235, .2)
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(37, 99, 235, .04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(37, 99, 235, .12)
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .65rem
}

.service-card p {
  font-size: .875rem;
  color: var(--gray-5);
  line-height: 1.65;
  margin-bottom: 1.5rem
}

.service-card-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap
}

.service-card-dark {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px)
}

.service-card-dark:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(37, 99, 235, .4);
  box-shadow: 0 20px 60px rgba(37, 99, 235, .12)
}

.service-card-dark h3 {
  color: var(--white)
}

.service-card-dark p {
  color: rgba(255, 255, 255, .6)
}

.service-card-dark .service-icon {
  background: rgba(37, 99, 235, .15);
  border-color: rgba(37, 99, 235, .25)
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-med);
  text-align: center
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md)
}

.team-img-wrap {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-1)
}

.team-img-placeholder {
  font-size: 4rem;
  color: rgba(255, 255, 255, .25)
}

.team-card-body {
  padding: 1.5rem
}

.team-card-body h4 {
  margin-bottom: .2rem
}

.team-role {
  color: var(--blue-2);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem
}

.team-bio {
  font-size: .85rem;
  color: var(--gray-5);
  line-height: 1.6
}

.counter-section {
  background: var(--grad-blue);
  padding: 4rem 0
}

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

.counter-item {
  text-align: center;
  color: var(--white)
}

.counter-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: .4rem
}

.counter-label {
  font-size: .82rem;
  opacity: .8;
  letter-spacing: .06em;
  text-transform: uppercase
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem
}

.portfolio-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-3);
  transition: all var(--t-med)
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg)
}

.portfolio-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--navy)
}

.portfolio-thumb img,
.portfolio-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 24, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  opacity: 0;
  transition: opacity var(--t-med);
  flex-wrap: wrap;
  padding: 1rem
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1
}

.portfolio-body {
  padding: 1.5rem
}

.portfolio-tag {
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue-2);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: .4rem
}

.portfolio-body h4 {
  margin-bottom: .5rem;
  font-size: 1rem
}

.portfolio-body p {
  font-size: .85rem;
  color: var(--gray-5);
  line-height: 1.55;
  margin-bottom: 1rem
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--t-med)
}

.testimonial-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px)
}

.testimonial-card::before {
  content: '"';
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  color: var(--blue-3);
  opacity: .15;
  position: absolute;
  top: .5rem;
  left: 1.25rem;
  line-height: 1
}

.stars {
  color: #F59E0B;
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  gap: .1rem
}

.testimonial-text {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-style: italic
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--grad-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0
}

.testimonial-author-name {
  font-weight: 700;
  font-size: .92rem;
  color: var(--text-dark)
}

.testimonial-author-title {
  font-size: .78rem;
  color: var(--gray-5)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start
}

.contact-info-card {
  background: var(--grad-hero);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  color: var(--white)
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: .65rem
}

.contact-info-card>p {
  color: rgba(255, 255, 255, .65);
  margin-bottom: 2rem;
  font-size: .9rem;
  line-height: 1.7
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .09);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0
}

.contact-info-text strong {
  display: block;
  color: var(--white);
  font-size: .78rem;
  margin-bottom: .2rem;
  text-transform: uppercase;
  letter-spacing: .07em
}

.contact-info-text span,
.contact-info-text a {
  font-size: .875rem;
  color: rgba(255, 255, 255, .6)
}

.contact-info-text a:hover {
  color: var(--white)
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--sh-sm)
}

.contact-form-card h3 {
  margin-bottom: 1.75rem
}

.form-group {
  margin-bottom: 1.15rem
}

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .45rem;
  text-transform: uppercase;
  letter-spacing: .06em
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--gray-3);
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

.form-group textarea {
  min-height: 130px;
  resize: vertical
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem
}

.faq-list {
  max-width: 800px;
  margin: 0 auto
}

.faq-item {
  border: 1px solid var(--gray-3);
  border-radius: var(--r-md);
  margin-bottom: .65rem;
  overflow: hidden;
  transition: border-color var(--t-fast)
}

.faq-item.open {
  border-color: var(--blue-2)
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Syne', sans-serif;
  font-size: .97rem;
  background: var(--white);
  transition: background var(--t-fast);
  gap: 1rem
}

.faq-item.open .faq-question {
  background: rgba(37, 99, 235, .04);
  color: var(--blue-2)
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--t-med)
}

.faq-item.open .faq-icon {
  background: var(--blue-2);
  color: var(--white);
  transform: rotate(45deg)
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease, padding .38s ease;
  padding: 0 1.5rem;
  font-size: .92rem;
  color: var(--gray-5);
  line-height: 1.75
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem
}

.map-container {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--gray-3)
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none
}

.vm-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-blue)
}

.vm-card.mission-card::before {
  background: var(--grad-orange)
}

.vm-icon {
  font-size: 2.25rem;
  margin-bottom: .85rem
}

.vm-card h3 {
  margin-bottom: .85rem
}

.vm-card p {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--gray-5)
}

.cta-section {
  background: linear-gradient(135deg, #1A56DB 0%, #1e3a8a 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04)
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem
}

.cta-section .cta-desc {
  color: rgba(255, 255, 255, .72);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto
}

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

.admin-body {
  background: #EEF2F7;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif
}

.admin-layout {
  display: flex;
  min-height: 100vh
}

.admin-sidebar {
  width: 255px;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform var(--t-med)
}

.admin-sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.admin-sidebar-menu {
  flex: 1;
  padding: .75rem 0;
  overflow-y: auto
}

.admin-menu-group {
  padding: .35rem 1.5rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .28);
  margin-top: .75rem
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1.5rem;
  color: rgba(255, 255, 255, .62);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
  border-left: 3px solid transparent
}

.admin-menu-item:hover {
  background: rgba(255, 255, 255, .06);
  color: var(--white)
}

.admin-menu-item.active {
  background: rgba(37, 99, 235, .18);
  color: var(--blue-3);
  border-left-color: var(--blue-3)
}

.admin-menu-item .menu-icon {
  font-size: 1.05rem;
  width: 20px;
  text-align: center
}

.admin-main {
  margin-left: 255px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

.admin-topbar {
  background: var(--white);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid var(--gray-3);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--sh-sm)
}

.admin-topbar h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark)
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem
}

.admin-user {
  font-size: .85rem;
  color: var(--gray-5)
}

.admin-content {
  padding: 1.75rem;
  flex: 1
}

.admin-section {
  display: none
}

.admin-section.active {
  display: block
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.4rem;
  border: 1px solid var(--gray-3);
  display: flex;
  align-items: center;
  gap: 1rem
}

.stat-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0
}

.stat-icon-box.blue {
  background: rgba(37, 99, 235, .1);
  color: var(--blue-2)
}

.stat-icon-box.orange {
  background: rgba(249, 115, 22, .1);
  color: var(--orange-2)
}

.stat-icon-box.green {
  background: rgba(22, 163, 74, .1);
  color: #16A34A
}

.stat-icon-box.purple {
  background: rgba(124, 58, 237, .1);
  color: #7C3AED
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1
}

.stat-label {
  font-size: .78rem;
  color: var(--gray-5);
  margin-top: .25rem
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.5rem
}

.admin-card-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--gray-3);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.admin-card-header h3 {
  font-size: .97rem;
  color: var(--text-dark)
}

.admin-card-body {
  padding: 1.5rem
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem
}

.admin-table th {
  text-align: left;
  padding: .7rem 1rem;
  background: var(--gray-1);
  color: var(--gray-5);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-3)
}

.admin-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--gray-2);
  color: var(--text-body);
  vertical-align: middle
}

.admin-table tr:last-child td {
  border-bottom: none
}

.admin-table tr:hover td {
  background: var(--gray-1)
}

.table-actions {
  display: flex;
  gap: .45rem
}

.btn-edit,
.btn-delete {
  padding: .32rem .75rem;
  border-radius: var(--r-sm);
  font-size: .78rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast)
}

.btn-edit {
  background: rgba(37, 99, 235, .1);
  color: var(--blue-2)
}

.btn-edit:hover {
  background: rgba(37, 99, 235, .2)
}

.btn-delete {
  background: rgba(220, 38, 38, .1);
  color: #DC2626
}

.btn-delete:hover {
  background: rgba(220, 38, 38, .2)
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-med);
  backdrop-filter: blur(4px)
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible
}

.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 90%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95) translateY(10px);
  transition: transform var(--t-med)
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0)
}

.modal-header {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--gray-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1
}

.modal-header h3 {
  font-size: 1.05rem
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-2);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
  border: none
}

.modal-close:hover {
  background: var(--gray-3)
}

.modal-body {
  padding: 1.5rem
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-3);
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
  background: var(--gray-1)
}

.admin-login {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.login-card {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .4)
}

.login-card h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: .4rem
}

.login-subtitle {
  color: rgba(255, 255, 255, .55);
  text-align: center;
  margin-bottom: 2rem;
  font-size: .875rem
}

.login-card .form-group label {
  color: rgba(255, 255, 255, .72)
}

.login-card .form-group input {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  color: var(--white)
}

.login-card .form-group input::placeholder {
  color: rgba(255, 255, 255, .3)
}

.login-card .form-group input:focus {
  background: rgba(255, 255, 255, .1);
  border-color: var(--blue-3)
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .65rem
}

.toast {
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: var(--r-md);
  padding: .9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--sh-lg);
  min-width: 270px;
  animation: slideIn .3s ease;
  border-left: 4px solid var(--blue-2)
}

.toast.success {
  border-left-color: #16A34A
}

.toast.error {
  border-left-color: #DC2626
}

.toast-msg {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dark)
}

.loading-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--gray-3);
  border-top-color: var(--blue-2);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 2rem auto
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-4)
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem
}

.about-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem
}

.about-box {
  border-radius: var(--r-lg);
  padding: 1.75rem;
  text-align: center
}

.about-box-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(37, 99, 235, .04));
  border: 1px solid rgba(37, 99, 235, .12)
}

.about-box-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, .1), rgba(249, 115, 22, .04));
  border: 1px solid rgba(249, 115, 22, .12)
}

.about-box-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem
}

.about-box strong {
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  color: var(--text-dark)
}

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

  .counter-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .workflow-grid::before {
    display: none
  }

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

@media(max-width:768px) {
  :root {
    --section-pad: 3.5rem 0
  }

  .nav-links,
  .nav-cta {
    display: none !important
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000 !important;
    position: relative
  }

  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    background: rgba(5, 11, 24, 0.99) !important;
    padding: 6rem 2rem 2rem !important;
    gap: 1.5rem;
    backdrop-filter: blur(25px);
    z-index: 999999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow-y: auto !important
  }

  .nav-links.open a {
    font-size: 1.25rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    width: 100%;
    text-align: center
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .workflow-grid,
  .portfolio-grid,
  .footer-grid {
    width: 100%;
    max-width: 100vw !important
  }

  .logo-main {
    font-size: 1.2rem !important
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .workflow-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem
  }

  .contact-grid {
    grid-template-columns: 1fr !important
  }

  .portfolio-grid {
    grid-template-columns: 1fr !important
  }

  .form-row {
    grid-template-columns: 1fr !important
  }

  .hero-trust {
    gap: 1.5rem;
    justify-content: center
  }

  .hero-content {
    text-align: center;
    width: 100%
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    width: 100%
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center
  }

  .about-boxes {
    grid-template-columns: 1fr !important
  }

  .admin-sidebar {
    transform: translateX(-100%)
  }

  .admin-sidebar.open {
    transform: translateX(0)
  }

  .admin-main {
    margin-left: 0
  }

  .footer-grid {
    grid-template-columns: 1fr !important
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: .5rem
  }

  .page-hero {
    padding: calc(var(--nav-h) + 2rem) 0 2rem
  }

  .page-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    word-break: keep-all;
    overflow-wrap: break-word
  }

  .page-hero p {
    font-size: .95rem;
    padding: 0 1rem
  }

  :root {
    --grid-gap: 1.5rem
  }

  p {
    overflow-wrap: break-word;
    max-width: 100%;
    display: block;
    box-sizing: border-box
  }

  .service-card {
    padding: 1.5rem
  }

  .about-boxes {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important
  }

  .about-box {
    padding: 1rem !important;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
  }

  .about-box-icon {
    font-size: 1.5rem !important;
    margin-bottom: .4rem
  }

  .about-hero-box {
    padding: 1.5rem !important
  }

  .stats-icon {
    font-size: 2.5rem !important
  }

  .stats-row {
    gap: 1rem !important;
    flex-wrap: wrap
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem
  }

  .cta-section {
    padding: 3.5rem 0
  }

  .cta-section .btn-group {
    flex-direction: column;
    align-items: center;
    width: 100%
  }

  .cta-section .btn-group .btn {
    width: 100%;
    justify-content: center
  }

  .counter-section {
    padding: 2.5rem 0
  }

  .counter-grid {
    grid-template-columns: 1fr 1fr
  }

  .testimonial-card {
    padding: 1.5rem
  }

  .vm-card {
    padding: 1.5rem;
    margin-bottom: 1rem
  }

  .team-card {
    padding: 1.5rem
  }

  .team-card h3 {
    font-size: 1.25rem;
    margin-top: 1rem
  }

  .team-bio {
    font-size: .9rem;
    line-height: 1.6
  }

  .modal {
    width: 96%;
    max-height: 95vh
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 1.25rem;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden;
    box-sizing: border-box
  }

  h1 {
    font-size: 1.8rem !important;
    line-height: 1.2;
    overflow-wrap: break-word;
    hyphens: auto
  }

  h2 {
    font-size: 1.5rem !important
  }

  .hero-desc {
    font-size: .95rem;
    line-height: 1.6
  }

  .hero-trust {
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center
  }

  .trust-number {
    font-size: 1.4rem
  }

  .counter-grid {
    grid-template-columns: 1fr 1fr
  }

  .admin-stats {
    grid-template-columns: 1fr
  }

  .workflow-grid {
    grid-template-columns: 1fr !important
  }

  .about-boxes {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .75rem !important
  }

  .about-box {
    min-height: 90px;
    padding: .75rem !important
  }

  .about-box strong {
    font-size: .8rem !important
  }

  .about-box-icon {
    font-size: 1.5rem !important
  }

  .footer-grid {
    grid-template-columns: 1fr !important
  }

  .btn {
    padding: .75rem 1.25rem;
    font-size: .85rem
  }

  .logo-web {
    font-size: .72rem !important;
    letter-spacing: .06em !important
  }

  .section-subtitle {
    margin-bottom: 2.5rem
  }

  .hero {
    padding-bottom: 2rem
  }

  .cta-section {
    padding: 3rem 0
  }

  .counter-number {
    font-size: 2rem
  }
}

/* ── Logo Web Solutions text ── */
.logo-web {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .115em;
  text-transform: uppercase;
  margin-top: 1px;
  display: block
}

.logo-brand-line {
  display: flex;
  align-items: baseline;
  gap: .02em
}

.nav-logo .logo-main {
  display: flex;
  flex-direction: column;
  line-height: 1.15
}

/* ── Hero centered ── */
.hero-centered {
  text-align: center;
  justify-content: center
}

.hero-centered .hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center
}

.hero-centered .hero-desc {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px
}

.hero-centered .hero-cta {
  justify-content: center
}

.hero-centered .hero-trust {
  justify-content: center
}

/* ── Portfolio gallery ── */
.portfolio-gallery {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .5rem 0 .75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch
}

.portfolio-gallery::-webkit-scrollbar {
  height: 4px
}

.portfolio-gallery::-webkit-scrollbar-track {
  background: var(--gray-2);
  border-radius: 2px
}

.portfolio-gallery::-webkit-scrollbar-thumb {
  background: var(--blue-3);
  border-radius: 2px
}

.portfolio-gallery-img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--t-fast)
}

.portfolio-gallery-img:hover {
  border-color: var(--blue-3)
}

.portfolio-gallery-img.active {
  border-color: var(--orange-2)
}

/* ── Upload area ── */
.upload-area {
  border: 2px dashed var(--gray-3);
  border-radius: var(--r-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
  background: var(--gray-1)
}

.upload-area:hover {
  border-color: var(--blue-2);
  background: rgba(37, 99, 235, .04)
}

.upload-area input[type=file] {
  display: none
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem
}

.upload-preview-img {
  width: 70px;
  height: 55px;
  object-fit: cover;
  border-radius: var(--r-sm);
  position: relative
}

.upload-preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #DC2626;
  color: #fff;
  border-radius: 50%;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none
}

.upload-preview-wrap {
  position: relative;
  display: inline-block
}

.upload-progress {
  height: 4px;
  background: var(--gray-3);
  border-radius: 2px;
  margin-top: .5rem;
  overflow: hidden
}

.upload-progress-bar {
  height: 100%;
  background: var(--grad-blue);
  border-radius: 2px;
  transition: width .3s ease;
  width: 0%
}