/* ============================================================
   Pacific ComTech LLC — Global Stylesheet
   Brand: Teal #00A3B4 | Navy #0D1B35 | White #FFFFFF
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:      #00A3B4;
  --teal-dark: #007D8C;
  --teal-light:#E6F7F9;
  --navy:      #0D1B35;
  --navy-mid:  #152540;
  --white:     #FFFFFF;
  --gray-50:   #F8FAFC;
  --gray-100:  #F1F5F9;
  --gray-200:  #E2E8F0;
  --gray-400:  #94A3B8;
  --gray-600:  #475569;
  --gray-800:  #1E293B;
  --text:      #1E293B;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --transition: 0.25s ease;
  --max-w: 1180px;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--gray-600); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}

/* ---------- Layout Utilities ---------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray-50); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-teal   { color: var(--teal); }

.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: 2rem; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mb-1  { margin-bottom: 1rem; }
.mb-2  { margin-bottom: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9375rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,163,180,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--white);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 1.25rem 0;
}
#navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: .75rem 0;
}
#navbar.scrolled .nav-logo-text { color: var(--navy); }
#navbar.scrolled .nav-links a   { color: var(--gray-800); }
#navbar.scrolled .nav-links a:hover { color: var(--teal); }
#navbar.scrolled .nav-cta { background: var(--teal); color: var(--white); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
#navbar.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .9375rem;
  padding: .5rem .875rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: rgba(0,163,180,.08); }
#navbar.scrolled .nav-links a.active { color: var(--teal); background: var(--teal-light); }

.nav-cta {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  padding: .5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--teal); border-color: var(--teal); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--gray-800);
  font-weight: 500;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--teal); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,53,.92) 0%, rgba(13,27,53,.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,163,180,.2);
  border: 1px solid rgba(0,163,180,.4);
  color: #5DE6F2;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; font-size: .5rem; color: var(--teal); }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-6px)} }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--teal);
  padding: 1.5rem 0;
}
.stats-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item span {
  font-size: .8125rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
}

/* ---------- Section Headers ---------- */
.section-header { max-width: 600px; margin: 0 auto 3rem; text-align: center; }
.section-header p { margin-top: .75rem; font-size: 1.0625rem; }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--teal); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .9375rem; }

/* ---------- Mission Section ---------- */
.mission-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.mission-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,163,180,.15) 0%, transparent 70%);
  pointer-events: none;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.mission-text h2 { color: var(--white); margin-bottom: 1rem; }
.mission-text p  { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin-bottom: 1.5rem; }
.mission-points { display: flex; flex-direction: column; gap: .75rem; }
.mission-point {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .9375rem;
}
.mission-point::before {
  content: '';
  flex-shrink: 0;
  margin-top: .35rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.mission-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}
.mission-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}

/* ---------- Project Cards ---------- */
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-200);
}
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-info { padding: 1.5rem; }
.project-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}
.project-info h3 { margin-bottom: .5rem; font-size: 1.125rem; }
.project-info p { font-size: .9375rem; }
.project-info a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--teal);
  font-weight: 600;
  font-size: .875rem;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.project-info a:hover { gap: .65rem; }

/* ---------- Client Logos ---------- */
.clients-section { background: var(--gray-50); }
.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 2.5rem;
}
.client-logo {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .04em;
  transition: color var(--transition);
  text-align: center;
}
.client-logo:hover { color: var(--teal); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .75rem; }
.cta-band p  { color: rgba(255,255,255,.85); font-size: 1.0625rem; margin-bottom: 2rem; }

/* ---------- About Page ---------- */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .2;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,27,53,.95) 50%, rgba(13,27,53,.6));
}
.page-hero-content { position: relative; z-index: 2; max-width: 640px; }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.125rem; margin-top: .875rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--teal);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,.3); }

.value-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.value-card:hover { background: var(--white); box-shadow: var(--shadow); }
.value-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: .75rem;
}
.value-card h3 { margin-bottom: .5rem; }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .875rem;
  color: var(--gray-800);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,163,180,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}
.contact-info-card h3 { color: var(--white); margin-bottom: .5rem; }
.contact-info-card p  { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: rgba(0,163,180,.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item-icon svg { width: 18px; height: 18px; color: var(--teal); }
.contact-item-label  { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: .15rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.contact-item-value  { color: var(--white); font-weight: 500; }

/* ---------- Careers ---------- */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.job-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }
.job-type {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .625rem;
}
.job-card h3 { margin-bottom: .25rem; }
.job-card p  { font-size: .9375rem; max-width: 480px; }
.job-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--gray-400);
}
.job-meta-item svg { width: 14px; height: 14px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: .5rem; }
.footer-brand p { margin-top: .875rem; font-size: .9375rem; line-height: 1.75; max-width: 280px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,163,180,.15);
  border: 1px solid rgba(0,163,180,.3);
  color: #5DE6F2;
  font-size: .75rem;
  font-weight: 600;
  padding: .35rem .875rem;
  border-radius: 100px;
  margin-top: 1.25rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: .625rem; }
.footer-col ul li a {
  font-size: .9375rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .875rem;
  font-size: .9375rem;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .25rem; color: var(--teal); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8125rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--teal); }
.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--teal); }
.footer-social a svg { width: 16px; height: 16px; color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-image { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .stats-inner { gap: 1.5rem 2.5rem; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .job-card { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero { min-height: 85vh; }
  .stats-inner { justify-content: center; }
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.divider { border: none; border-top: 1px solid var(--gray-200); }
.native-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, rgba(0,163,180,.1), rgba(0,163,180,.05));
  border: 1px solid rgba(0,163,180,.25);
  color: var(--teal-dark);
  font-size: .8125rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 100px;
}
.native-badge::before { content: '🌺'; }
