@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Inter+Tight:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --navy:       #0A1628;
  --navy-mid:   #112240;
  --navy-light: #1A3A5C;
  --cyan:       #00C2D4;
  --cyan-dim:   #00C2D433;
  --orange:     #E87722;
  --orange-dim: #E8772220;
  --white:      #F0F4FF;
  --gray:       #8892A4;
  --gray-light: #1E2F45;

  --font-display: 'Inter Tight', sans-serif;
  --font-body:    'Inter', sans-serif;

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glow-cyan:  0 0 40px #00C2D430;
  --glow-orange: 0 0 40px #E8772230;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════
   NOISE TEXTURE OVERLAY
═══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ═══════════════════════════════════════════════
   GRID LINES BACKGROUND
═══════════════════════════════════════════════ */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--cyan-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--cyan-dim) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   CIRCUIT DECORATION
═══════════════════════════════════════════════ */
.circuit-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  height: 1px;
  opacity: 0.3;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 194, 212, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.98);
  border-bottom-color: rgba(0, 194, 212, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-logo span { color: var(--cyan); }

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
  display: grid;
  place-items: center;
  position: relative;
}

.nav-logo-icon::before {
  content: 'P';
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--cyan);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.875rem;
  transition: all var(--transition) !important;
  border: none;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #FF8C35 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 119, 34, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(0, 194, 212, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(232, 119, 34, 0.05) 0%, transparent 50%),
    var(--navy);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 194, 212, 0.08);
  border: 1px solid rgba(0, 194, 212, 0.25);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero-title .line-cyan { color: var(--cyan); display: block; }
.hero-title .line-orange { color: var(--orange); display: block; }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
  font-weight: 300;
}

.hero-subtitle strong { color: var(--white); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary:hover {
  background: #FF8C35;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 119, 34, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 194, 212, 0.05);
}

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

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num span { color: var(--cyan); }

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(26, 58, 92, 0.4);
  border: 1px solid rgba(0, 194, 212, 0.15);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--orange), transparent);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
  cursor: default;
}

.service-item:hover {
  background: rgba(0, 194, 212, 0.08);
  border-color: rgba(0, 194, 212, 0.2);
  transform: translateX(4px);
}

.service-item-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-item-icon.orange { background: rgba(232, 119, 34, 0.15); }
.service-item-icon.cyan   { background: rgba(0, 194, 212, 0.1); }

.service-item-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
}

.service-item-tag {
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray);
}

.cert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* Floating elements */
.hero-float-1, .hero-float-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-float-1 {
  width: 300px; height: 300px;
  background: rgba(0, 194, 212, 0.05);
  top: -80px; right: -80px;
}

.hero-float-2 {
  width: 200px; height: 200px;
  background: rgba(232, 119, 34, 0.06);
  bottom: -60px; left: -60px;
}

/* ═══════════════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════════════ */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-title span { color: var(--cyan); }
.section-title .orange { color: var(--orange); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 600px;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   CLIENT BAND
═══════════════════════════════════════════════ */
.client-band {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(17, 34, 64, 0.5);
}

.client-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.client-band-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.client-band-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(240, 244, 255, 0.5);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.client-logo:hover { color: var(--white); }

.client-logo-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.client-tag {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 500;
  font-family: var(--font-body);
  margin-left: 0.25rem;
}

/* ═══════════════════════════════════════════════
   SERVICES OVERVIEW (HOME)
═══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(17, 34, 64, 0.6);
  border: 1px solid rgba(0, 194, 212, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: rgba(0, 194, 212, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card.orange-accent::before { background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.service-card.cyan-accent::before   { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }

.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card-icon.orange { background: rgba(232, 119, 34, 0.12); }
.service-card-icon.cyan   { background: rgba(0, 194, 212, 0.1); }

.service-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.service-card:hover .service-card-link { gap: 0.7rem; }

/* ═══════════════════════════════════════════════
   DIFFERENTIATORS
═══════════════════════════════════════════════ */
.diff-section {
  background: rgba(17, 34, 64, 0.4);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 3rem;
}

.diff-item {
  padding: 2rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  transition: background var(--transition);
}

.diff-item:hover { background: rgba(0, 194, 212, 0.03); }

.diff-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 194, 212, 0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.diff-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}

.diff-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   CERTS BAND
═══════════════════════════════════════════════ */
.certs-band {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: rgba(0, 194, 212, 0.04);
  border: 1px solid rgba(0, 194, 212, 0.12);
  border-radius: 12px;
}

.certs-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  flex-shrink: 0;
}

.cert-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 194, 212, 0.08);
  border: 1px solid rgba(0, 194, 212, 0.2);
  border-radius: 100px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan);
}

.cert-pill-icon { font-size: 0.85rem; }

/* ═══════════════════════════════════════════════
   CONTACT SECTION / FORM
═══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0, 194, 212, 0.1);
  border: 1px solid rgba(0, 194, 212, 0.2);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-detail-text strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* Form */
.form-card {
  background: rgba(17, 34, 64, 0.6);
  border: 1px solid rgba(0, 194, 212, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  background: rgba(0, 194, 212, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 194, 212, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(136, 146, 164, 0.5); }

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #FF8C35;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 119, 34, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

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

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cyan);
}

.form-success p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   PAGE HERO (interior pages)
═══════════════════════════════════════════════ */
.page-hero {
  padding: 140px 2rem 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 194, 212, 0.05) 0%, transparent 60%),
    var(--navy);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--cyan); }
.breadcrumb-sep { color: rgba(136, 146, 164, 0.4); }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-hero-title span { color: var(--cyan); }

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 580px;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   SERVICE DETAIL PAGE
═══════════════════════════════════════════════ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service-feature-list {
  margin: 2rem 0;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.service-feature:last-child { border-bottom: none; }

.feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0, 194, 212, 0.1);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
  font-weight: 300;
}

/* Sticky sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: rgba(17, 34, 64, 0.7);
  border: 1px solid rgba(0, 194, 212, 0.15);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.sidebar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.sidebar-card-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.modality-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.modality-item:last-child { border-bottom: none; }

.modality-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(232, 119, 34, 0.1);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.modality-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}

.modality-desc {
  font-size: 0.775rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   NOSOTROS
═══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: rgba(0, 194, 212, 0.2);
  transform: translateY(-4px);
}

.team-avatar {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(0, 194, 212, 0.1);
  border: 1px solid rgba(0, 194, 212, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.team-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-item {
  padding: 1.75rem;
  background: rgba(17, 34, 64, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  transition: all var(--transition);
}

.value-item:hover {
  border-color: rgba(232, 119, 34, 0.2);
  background: rgba(232, 119, 34, 0.03);
}

.value-icon {
  font-size: 1.5rem;
  margin-bottom: 0.875rem;
}

.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   CASOS DE ÉXITO
═══════════════════════════════════════════════ */
.case-card {
  background: rgba(17, 34, 64, 0.5);
  border: 1px solid rgba(0, 194, 212, 0.12);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
  transition: all var(--transition);
}

.case-card:hover {
  border-color: rgba(0, 194, 212, 0.25);
  box-shadow: var(--glow-cyan);
}

.case-header {
  padding: 2.5rem 2.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.case-client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(0, 194, 212, 0.1);
  border: 1px solid rgba(0, 194, 212, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.case-client-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.case-client-type {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

.case-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.case-tag {
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(0, 194, 212, 0.08);
  border: 1px solid rgba(0, 194, 212, 0.2);
  color: var(--cyan);
}

.case-tag.orange {
  background: rgba(232, 119, 34, 0.08);
  border-color: rgba(232, 119, 34, 0.2);
  color: var(--orange);
}

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

.case-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.case-col-content {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  font-weight: 300;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.case-stat {
  padding: 1.5rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.case-stat:last-child { border-right: none; }

.case-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.case-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 0.375rem;
}

/* Placeholder card */
.case-placeholder {
  background: rgba(17, 34, 64, 0.3);
  border: 2px dashed rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
}

.case-placeholder-icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }

.case-placeholder-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(240, 244, 255, 0.5);
  margin-bottom: 0.5rem;
}

.case-placeholder-desc {
  font-size: 0.9rem;
  color: rgba(136, 146, 164, 0.6);
}

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */
.cta-band {
  background: rgba(17, 34, 64, 0.6);
  border-top: 1px solid rgba(0, 194, 212, 0.1);
  border-bottom: 1px solid rgba(0, 194, 212, 0.1);
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.cta-text-title span { color: var(--orange); }

.cta-text-desc {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: rgba(8, 16, 30, 0.95);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  font-weight: 300;
}

.footer-tagline {
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(136, 146, 164, 0.6);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color var(--transition);
  font-weight: 300;
}

.footer-links a:hover { color: var(--cyan); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(136, 146, 164, 0.5);
}

.footer-certs {
  display: flex;
  gap: 0.75rem;
}

.footer-cert {
  font-size: 0.75rem;
  color: rgba(136, 146, 164, 0.5);
  background: rgba(255,255,255,0.03);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .case-body { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr; }
  .case-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(0, 194, 212, 0.1);
    gap: 1.25rem;
  }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 1.25rem 60px; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.75rem; }

  .section { padding: 4rem 1.25rem; }
  .section-title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-desc { font-size: 1rem; }

  .page-hero { padding: 110px 1.25rem 60px; }
  .page-hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .page-hero-desc { font-size: 1rem; }

  .client-band { padding: 2rem 1.25rem; }
  .client-band-inner { gap: 1rem; }

  .services-grid { gap: 1rem; }
  .service-card { padding: 1.5rem; }

  .diff-item { padding: 1.5rem; }
  .diff-number { font-size: 2.5rem; }

  .form-card { padding: 1.75rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .case-header { flex-direction: column; padding: 1.75rem 1.5rem 0; }
  .case-body { padding: 1.5rem; }
  .case-stat { padding: 1.25rem 1.5rem; }
  .case-client-name { font-size: 1.2rem; }
  .case-stat-num { font-size: 1.75rem; }

  .cta-band .cta-inner { padding: 3rem 1.25rem; flex-direction: column; text-align: center; align-items: stretch; }
  .cta-text-title { font-size: clamp(1.4rem, 6vw, 1.75rem); }

  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .certs-band { padding: 1.25rem; gap: 0.75rem; }
  .cert-pill { font-size: 0.75rem; }

  .sidebar-card { padding: 1.5rem; }

  /* Nosotros: stack the history grid */
  .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 380px) {
  .hero-title, .page-hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .nav-logo { font-size: 1rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
}
