/* =============================================
   AREA Imagen Corporativa — Estilos globales
   Paleta: Azul / Negro / Blanco
   ============================================= */

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f1f5f9;
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Variables --- */
:root {
  --blue:        #2563EB;
  --blue-dark:   #1d4ed8;
  --blue-light:  #EFF6FF;
  --blue-mid:    #93c5fd;
  --navy:        #0A0F1E;
  --navy-mid:    #0f1629;
  --navy-border: #1a2240;
  --navy-muted:  #1e2d50;
  --text:        #0A0F1E;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --text-white:  #f1f5f9;
  --bg:          #ffffff;
  --bg-soft:     #f8faff;
  --border:      #e2e8f0;
  --coral:       #2563EB;
  --coral-light: #EFF6FF;
  --coral-dark:  #1d4ed8;
  --coral-mid:   #93c5fd;
  --teal:        #2563EB;
  --teal-light:  #EFF6FF;
  --teal-dark:   #1d4ed8;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(37,99,235,.12);
  --max-w:       1100px;
  --nav-h:       64px;
}

/* --- Tipografía --- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--text); }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--text); }
h4 { font-size: 1rem; font-weight: 600; color: var(--text); }
p  { color: var(--text-muted); line-height: 1.7; }

.accent { color: var(--blue); }
.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.label.dark {
  color: var(--blue-mid);
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.2);
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--navy-muted);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-mid); }
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--blue); padding: 0; font-weight: 600; font-size: .9rem; }
.btn-ghost:hover { gap: 12px; }

/* --- Navegación --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================================================
   LOGO — cambiá "logo-area.png" por el nombre
   exacto de tu archivo dentro de la carpeta img/
   ================================================ */
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
/* Si no tenés logo imagen, se muestra el texto */
.nav-logo .logo-text { color: #fff; }
.nav-logo .logo-text .dot { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { font-size: .88rem; color: var(--text-light); font-weight: 500; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: #fff; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }

/* --- Hero (fondo oscuro) --- */
.hero {
  padding: 80px 0 64px; background: var(--navy);
  background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-bg.jpg');
  background-size: cover; background-position: right center; background-repeat: no-repeat;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue-mid);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; color: #fff; }
.hero-desc { font-size: 1.05rem; margin-bottom: 32px; max-width: 460px; color: var(--text-light); }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--navy-border);
}
.hero-stat-n { font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-l { font-size: .78rem; color: var(--text-light); margin-top: 4px; }
.hero-visual {
  background: var(--navy-mid);
  border-radius: var(--radius-xl);
  border: 1px solid var(--navy-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 24px; width: 100%; }
.hero-mini-card {
  display: block;
  background: var(--navy);
  border-radius: var(--radius-md);
  border: 1px solid var(--navy-border);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all .2s ease;
}
.hero-mini-card:hover { border-color: #2563EB; background: rgba(37,99,235,.1); }
.hero-mini-card .icon { font-size: 1.4rem; margin-bottom: 8px; }
.hero-mini-card h4 { font-size: .82rem; color: #fff; }
.hero-mini-card p  { font-size: .72rem; color: var(--text-light); margin-top: 2px; }

/* --- Cards de servicios --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.svc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.svc-card.featured { border-color: var(--blue); background: var(--blue-light); }
.svc-card.featured2 { border-color: var(--navy); background: #f8fafc; }
.svc-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.svc-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  flex-shrink: 0;
}
.svc-icon.dark { background: #f1f5f9; color: var(--navy); }
.svc-badge {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px;
  background: var(--blue-light); color: var(--blue-dark);
}
.svc-badge.dark { background: var(--navy); color: #fff; }
.svc-card h3 { font-size: 1.05rem; color: var(--text); }
.svc-card p  { font-size: .88rem; flex: 1; }
.svc-arrow { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--blue); margin-top: 4px; }
.svc-arrow.dark { color: var(--navy); }
.svc-icon.teal  { background: var(--teal-light); color: var(--teal-dark); }
.svc-badge.teal { background: var(--teal-light); color: var(--teal-dark); }
.svc-arrow.teal { color: var(--teal-dark); }
.label.teal     { color: var(--teal-dark); background: var(--teal-light); border: 1px solid rgba(37,99,235,.25); }

/* --- Página interna de servicio --- */
.service-hero { padding: 64px 0 48px; background: var(--navy); border-bottom: 1px solid var(--navy-border); }
.service-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-hero h1 { margin-bottom: 16px; color: #fff; }
.service-hero .desc { font-size: 1.05rem; margin-bottom: 28px; color: var(--text-light); }
.service-body { padding: 64px 0; }
.service-body-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--blue-mid); }
.breadcrumb span { color: var(--navy-muted); }

/* Beneficios */
.benefit-list { display: flex; flex-direction: column; gap: 16px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0; margin-top: 2px;
}
.benefit-item h4 { margin-bottom: 2px; color: var(--text); }
.benefit-item p  { font-size: .88rem; }

/* Sidebar contacto */
.contact-sidebar {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 80px;
}
.contact-sidebar h3 { margin-bottom: 6px; color: var(--text); }
.contact-sidebar > p { font-size: .88rem; margin-bottom: 20px; }

/* Formularios */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem; font-family: inherit;
  color: var(--text); background: var(--bg);
  transition: border-color .15s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* CTA section */
.cta-section { background: var(--navy); padding: 72px 0; text-align: center; border-top: 1px solid var(--navy-border); }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p  { color: var(--text-light); max-width: 480px; margin: 0 auto 28px; }

/* Footer */
.footer { background: #060b18; color: #aaa; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 30px; width: auto; }
.footer-logo .dot { color: var(--blue); }
.footer-desc { font-size: .85rem; line-height: 1.65; color: #64748b; }
.footer-col h4 { font-size: .82rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .85rem; color: #64748b; transition: color .15s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #0f1629; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .8rem; color: #334155; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--navy-border);
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-size: .85rem; transition: all .15s;
}
.social-link:hover { border-color: var(--hover-color, var(--blue)); color: var(--hover-color, var(--blue)); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg);
  transition: all .2s ease; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.portfolio-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.portfolio-img { aspect-ratio: 16/10; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--border); overflow: hidden; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.portfolio-tag { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-dark); background: var(--blue-light); padding: 3px 10px; border-radius: 99px; display: inline-block; width: fit-content; }
.portfolio-body h3 { font-size: 1rem; color: var(--text); }
.portfolio-body p  { font-size: .85rem; flex: 1; }

/* Equipo */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.team-card { text-align: center; padding: 28px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.team-card p  { font-size: .82rem; }

/* Embed 360 */
.embed-360 {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--navy-border);
  aspect-ratio: 16/9;
  background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--text-light); font-size: .9rem;
}

/* Section divider */
/* --- Proceso de trabajo (pasos numerados) --- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px 24px; }
.process-step-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-step-n {
  position: absolute; top: 24px; right: 24px;
  font-size: .78rem; font-weight: 700; color: var(--border);
}
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: .88rem; }
@media (min-width: 769px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Banner de marca (imagen ancha con texto superpuesto) --- */
.brand-banner { position: relative; overflow: hidden; padding: 96px 0; }
.brand-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.brand-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,30,.75) 0%, rgba(10,15,30,.55) 100%);
}
.brand-banner-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; text-align: center; }
.brand-banner-content h2 { color: #fff; margin-bottom: 16px; }
.brand-banner-content p { color: var(--text-light); font-size: 1.05rem; margin-bottom: 28px; }

.icon-svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* --- Fondos de hero por categoría/servicio --- */
.service-hero[class*="hero-bg-"] { background-size: cover; background-position: right center; background-repeat: no-repeat; }
.hero-bg-diseno        { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-diseno.jpg'); }
.hero-bg-web           { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-web.jpg'); }
.hero-bg-redes         { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-redes.jpg'); }
.hero-bg-audiovisual   { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-audiovisual.jpg'); }
.hero-bg-consultoria   { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-consultoria.jpg'); }
.hero-bg-recorridos    { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-recorridos.jpg'); }
.hero-bg-automatizacion{ background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-automatizacion.jpg'); }
.hero-bg-eventos       { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-eventos.jpg'); }
.hero-bg-cursos        { background-image: linear-gradient(90deg, var(--navy) 0%, rgba(10,15,30,.75) 55%, rgba(10,15,30,.4) 100%), url('../img/hero-cursos.jpg'); }

.section-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.section-divider h2 { white-space: nowrap; }
.section-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-outline-dark { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-border);
    padding: 20px 24px; gap: 16px;
  }
  .hero-inner, .service-hero-inner, .service-body-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
