/* ============================================================
   4Neuronas — División de JST Sistemas
   Hoja de estilos única. Sin dependencias, sin build.
   ============================================================ */

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

:root {
  --bg:        #111c2b;
  --bg2:       #162031;
  --surface:   #1a2a3f;
  --surface2:  #20344f;
  --border:    rgba(58,180,160,0.12);
  --accent:    #3ab8a0;
  --accent2:   #4a8ec8;
  --accent-glow: rgba(58,184,160,0.25);
  --text:      #d6e8f6;
  --text-muted:#6a90b0;
  --logo-bg:   #ffffff;
}

html { scroll-behavior: smooth; }

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

/* fondo mesh */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 8%, rgba(30,70,80,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgba(25,55,90,0.20) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 55% 45%, rgba(20,50,70,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* grilla sutil */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,184,160,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,184,160,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 3rem;
  background: rgba(17,28,43,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(58,184,160,0.4));
}

.nav-division {
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
  border-left: 1px solid var(--border);
  padding-left: 0.7rem;
  max-width: 120px;
}

.nav-division strong { color: var(--accent); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Atajo a Contacto: oculto mientras .nav-links este visible,
   se muestra en el breakpoint de 640px que oculta el menu. */
.nav-cta {
  display: none;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(58,184,160,0.45);
  color: var(--accent);
  background: rgba(58,184,160,0.08);
  padding: 0.42rem 1.15rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}

.nav-cta:hover,
.nav-cta:active {
  background: rgba(58,184,160,0.18);
  border-color: var(--accent);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 6rem;
  position: relative;
  z-index: 1;
  background-image: url('../img/intro-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

/* velo oscuro sobre la foto del hero — se ajusta solo en mobile */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(14,24,38,0.80) 0%,
    rgba(14,24,38,0.72) 55%,
    rgba(14,24,38,0.93) 100%);
  z-index: 0;
  pointer-events: none;
}

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

.hero-logo {
  width: 190px;
  max-width: 50vw;
  margin-bottom: 2.4rem;
  filter: drop-shadow(0 0 28px rgba(58,184,160,0.45));
  animation: floatLogo 5s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(58,184,160,0.1);
  border: 1px solid rgba(58,184,160,0.25);
  color: var(--accent);
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}

.hero-title .line1 { color: var(--text); }
.hero-title .line2 {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.75;
}

/* franja "una división de JST Sistemas" */
.parent-strip {
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 1.3rem 0.55rem 0.7rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}

.parent-strip:hover {
  border-color: rgba(58,184,160,0.35);
  background: rgba(58,184,160,0.07);
}

.parent-strip img {
  height: 34px;
  width: auto;
  background: var(--logo-bg);
  border-radius: 10px;
  padding: 3px 5px;
}

.parent-strip span {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.parent-strip span b { color: var(--text); font-weight: 700; }

.hero-cta {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #2a9f8a 50%, var(--accent2) 100%);
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(58,184,160,0.45);
}

.btn-outline {
  border: 1px solid rgba(58,184,160,0.45);
  color: var(--accent);
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-outline:hover {
  background: rgba(58,184,160,0.12);
  border-color: var(--accent);
}

/* flecha de scroll */
.scroll-arrow {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-arrow .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: slideDown 2s ease-in-out infinite;
}

@keyframes slideDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── CONTENEDOR DE SECCIÓN ── */
.section-wrap {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-wrap.wide { max-width: 1380px; }

/* la barra superior es fija: al saltar a un ancla, dejar aire
   para que el titulo de la seccion no quede tapado */
#about, #services, #flow, #tech, #clients, #contact { scroll-margin-top: 84px; }

.section-header { margin-bottom: 3.5rem; }

.label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}

.sec-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.sec-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-intro {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 720px;
  margin-top: 1rem;
}

/* ── NOSOTROS / DIVISIÓN ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
}

.about-text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 3rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }

.about-aside {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.about-aside img {
  width: 150px;
  max-width: 70%;
  height: auto;
  background: var(--logo-bg);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
}

.about-aside .aside-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.about-aside .aside-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── SERVICIOS ── */
.services-stack { display: flex; flex-direction: column; gap: 2rem; }

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: rgba(58,184,160,0.28);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}

.service-card.flip { direction: rtl; }
.service-card.flip > * { direction: ltr; }

.service-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-number {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 1.2rem;
}

.service-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.svc-list li {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding-left: 1.2rem;
  position: relative;
}

.svc-list li::before {
  content: '\25B8';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-visual {
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 320px;
}

.service-visual img,
.service-visual svg {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* ── TIRA DIVISORA ── */
.strip {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.25;
}

/* ── FLUJO DE TRABAJO ── */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
  counter-reset: flowstep;
}

.flow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.flow-step:hover {
  border-color: rgba(58,184,160,0.3);
  transform: translateY(-3px);
}

.flow-step::before {
  counter-increment: flowstep;
  content: '0' counter(flowstep);
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}

.flow-step h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flow-step p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── GRILLA DE CARACTERÍSTICAS ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(58,184,160,0.3);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
}

.feature-card .ficon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(58,184,160,0.1);
  border: 1px solid rgba(58,184,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.feature-card h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CLIENTES ── */
.portal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.pc {
  background: var(--logo-bg);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 102px;
  transition: transform 0.22s, box-shadow 0.22s, filter 0.22s;
  text-decoration: none;
  flex-shrink: 0;
}

.pc:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 34px rgba(0,0,0,0.4), 0 0 0 1px rgba(58,184,160,0.3);
  filter: brightness(1.04);
}

.pc img {
  max-width: 100%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* remate: enlace a la cartera completa de JST */
.clients-more {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.clients-more p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 640px;
  line-height: 1.75;
}

/* ── CONTACTO ── */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(58,184,160,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.contact-card .desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ci {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text);
  flex-wrap: wrap;
}

.ci .icon {
  width: 38px; height: 38px;
  background: rgba(58,184,160,0.1);
  border: 1px solid rgba(58,184,160,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.ci a { color: var(--accent); text-decoration: none; }
.ci a:hover { text-decoration: underline; }

.ci .ci-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 100%;
  margin-top: -0.35rem;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-logos img { height: 40px; width: auto; opacity: 0.8; }
.footer-logos .jst-mark {
  background: var(--logo-bg);
  border-radius: 8px;
  padding: 3px 6px;
  opacity: 0.85;
}

.footer-logos .sep {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-copy a { color: var(--accent); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

.footer-notice {
  font-size: 0.7rem;
  color: #3a5570;
  max-width: 680px;
  line-height: 1.65;
  margin-top: 0.4rem;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* ── FADE IN AL SCROLL ── */
.fi {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fi.vis { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fi { opacity: 1; transform: none; transition: none; }
  .hero-logo, .hero-badge::before, .btn-primary, .scroll-arrow .line { animation: none; }
}

/* ── BARRA DE STATS ── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

/* ── RESPONSIVE ── */
/* con 6 links el menu ya no entra a lo ancho: primero se achica,
   despues se suelta la bajada del logo */
@media (max-width: 1180px) {
  nav { padding: 0.85rem 2rem; }
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.73rem; letter-spacing: 0.08em; }
}

@media (max-width: 1000px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-division { display: none; }
  .nav-links { gap: 1.2rem; }
}

@media (max-width: 900px) {
  nav { padding: 0.85rem 1.5rem; }
  .service-card { grid-template-columns: 1fr; }
  .service-card.flip { direction: ltr; }
  .service-visual { min-height: 220px; }

  /* el parallax no funciona bien en iOS; y la foto se agranda mucho
     en pantallas altas, asi que se oscurece mas el velo */
  #hero { background-attachment: scroll; padding: 6rem 1.4rem 4.5rem; }
  #hero::before {
    background: linear-gradient(to bottom,
      rgba(14,24,38,0.88) 0%,
      rgba(14,24,38,0.82) 55%,
      rgba(14,24,38,0.95) 100%);
  }
  .hero-logo { width: 160px; margin-bottom: 1.8rem; }
  .parent-strip { margin-top: 1.8rem; }
  .stats-bar { margin-top: 2.6rem; padding-top: 2.2rem; }
  .scroll-arrow { display: none; }
}

@media (max-width: 640px) {
  .section-wrap { padding: 4rem 1.2rem; }
  .nav-links { display: none; }
  .nav-division { display: none; }
  .nav-cta { display: inline-flex; }
  .stats-bar { gap: 2rem; }
  .pc { width: 148px; height: 84px; padding: 0.7rem 0.9rem; }
  .pc img { max-height: 60px; }
  .portal-grid { gap: 0.7rem; }
  .about-text, .about-aside { padding: 2rem 1.5rem; }
  .service-body { padding: 2rem 1.5rem; }
  .contact-card { padding: 3rem 1.5rem; }
}
