/* ── SHARED.CSS — HarrgoIS ── */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@200;300;400;600;800&family=JetBrains+Mono:wght@300;400&display=swap');

:root {
  --blue:     #0050cc;
  --blue-mid: #003da0;
  --blue-lt:  #e8f0ff;
  --red:      #d90018;
  --red-lt:   #fff0f2;
  --dark:     #0f1923;
  --mid:      #2e3d50;
  --gray:     #5a6a7a;
  --gray-lt:  #8899aa;
  --border:   #dde5ef;
  --bg:       #f7f9fc;
  --white:    #ffffff;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Exo 2',sans-serif; color:var(--dark); background:var(--white); overflow-x:hidden; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* ── TYPOGRAPHY HELPERS ── */
.c-blue { color:var(--blue); }
.c-red  { color:var(--red); }

.section-label {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.section-label::before {
  content:'';
  width:28px;height:2px;
  background:var(--red);
  flex-shrink:0;
}
.section-label span {
  font-family:'JetBrains Mono',monospace;
  font-size:0.67rem;
  letter-spacing:0.22em;
  color:var(--blue);
  text-transform:uppercase;
}

.section-title {
  font-family:'Rajdhani',sans-serif;
  font-weight:800;
  font-size:clamp(1.9rem,3.5vw,2.9rem);
  line-height:1.1;
  color:var(--dark);
  margin-bottom:16px;
}

.section-sub {
  font-size:0.95rem;
  font-weight:300;
  color:var(--gray);
  line-height:1.75;
  max-width:520px;
}

/* ── BUTTONS ── */
.btn-primary {
  display:inline-block;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  padding:13px 30px;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:0.88rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  border:2px solid var(--blue);
  cursor:pointer;
  transition:background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary:hover {
  background:var(--blue-mid);
  border-color:var(--blue-mid);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(0,80,204,0.25);
}

.btn-outline {
  display:inline-block;
  background:transparent;
  color:var(--blue);
  text-decoration:none;
  padding:13px 30px;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:0.88rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  border:2px solid var(--blue);
  cursor:pointer;
  transition:background 0.25s, color 0.25s, transform 0.2s;
}
.btn-outline:hover {
  background:var(--blue);
  color:#fff;
  transform:translateY(-2px);
}

.btn-red {
  display:inline-block;
  background:var(--red);
  color:#fff;
  text-decoration:none;
  padding:13px 30px;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:0.88rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  border:2px solid var(--red);
  cursor:pointer;
  transition:background 0.25s, transform 0.2s;
}
.btn-red:hover { background:#b8001a; transform:translateY(-2px); }

/* ── NAV ── */
nav {
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  height:120px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 6%;
  background:var(--white);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  box-shadow:0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo {
  display:flex;
  align-items:center;
  text-decoration:none;
}

.nav-logo img {
  height:100px;
  width:auto;
  transition: transform 0.3s;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

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

.nav-links a {
  font-family:'Rajdhani',sans-serif;
  font-weight:600;
  font-size:0.85rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--mid);
  text-decoration:none;
  position:relative;
  transition:color 0.2s;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:-3px;left:0;
  width:0;height:2px;
  background:var(--blue);
  transition:width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color:var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width:100%; }

.nav-links a.nav-cta {
  background:var(--red);
  color:#fff !important;
  padding:8px 20px;
  letter-spacing:0.08em;
  transition:background 0.25s !important;
}
.nav-links a.nav-cta::after { display:none; }
.nav-links a.nav-cta:hover { background:#b8001a !important; }

.hamburger {
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
}
.hamburger span {
  display:block;
  width:24px;height:2px;
  background:var(--dark);
  transition:0.3s;
}

/* ── PAGE BANNER ── */
.page-banner {
  background-color: #001a5c;
  background-image: 
    linear-gradient(135deg, rgba(0, 26, 92, 0.8) 0%, rgba(0, 51, 153, 0.8) 60%, rgba(0, 80, 204, 0.8) 100%),
    url('src/img/infraestructura-tecnologica.png?v=2');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding:180px 7% 90px;
  position:relative;
  overflow:hidden;
}

.page-banner::before {
  content:'';
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size:50px 50px;
}

.page-banner::after {
  content:'';
  position:absolute;
  right:-100px;top:-100px;
  width:450px;height:450px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,0.06),transparent 70%);
}

.banner-content { position:relative;z-index:2; }

.banner-eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}
.banner-eyebrow span {
  font-family:'JetBrains Mono',monospace;
  font-size:0.65rem;
  letter-spacing:0.22em;
  color:rgba(255,255,255,0.5);
  text-transform:uppercase;
}
.banner-eyebrow::before {
  content:'';width:28px;height:1px;
  background:var(--red);
}

.banner-title {
  font-family:'Rajdhani',sans-serif;
  font-weight:800;
  font-size:clamp(2.4rem,5vw,4rem);
  color:#fff;
  line-height:1.05;
  margin-bottom:16px;
}

.banner-sub {
  font-size:1rem;
  font-weight:300;
  color:rgba(255,255,255,0.65);
  max-width:500px;
  line-height:1.7;
}

/* ── FOOTER ── */
.site-footer {
  background:var(--dark);
  padding:64px 7% 0;
}

.footer-inner {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-family:'Rajdhani',sans-serif;
  font-weight:800;
  font-size:1.3rem;
  letter-spacing:0.1em;
  color:#fff;
  display:block;
  margin-bottom:14px;
}
.footer-logo em { font-style:normal; color:var(--blue); }

.footer-brand p {
  font-size:0.82rem;
  color:rgba(255,255,255,0.4);
  line-height:1.7;
  font-weight:300;
  max-width:240px;
  margin-bottom:20px;
}

.social-links { display:flex; gap:10px; }
.social-link {
  width:32px;height:32px;
  border:1px solid rgba(255,255,255,0.15);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,0.4);
  text-decoration:none;
  font-size:0.75rem;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  transition:border-color 0.2s,color 0.2s,background 0.2s;
}
.social-link:hover {
  border-color:var(--blue);
  color:#fff;
  background:var(--blue);
}

.footer-col h4 {
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:0.78rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  color:#fff;
  margin-bottom:20px;
}
.footer-col ul { list-style:none; }
.footer-col ul li {
  margin-bottom:10px;
  font-size:0.82rem;
  color:rgba(255,255,255,0.4);
  font-weight:300;
  line-height:1.5;
}
.footer-col ul li a {
  color:rgba(255,255,255,0.4);
  text-decoration:none;
  transition:color 0.2s;
}
.footer-col ul li a:hover { color:#fff; }

.footer-bottom {
  padding:24px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.footer-bottom p {
  font-size:0.75rem;
  color:rgba(255,255,255,0.25);
  font-weight:300;
}

/* ── RESPONSIVE ── */
@media(max-width:860px){
  .nav-links { display:none; }
  .nav-links.open {
    display:flex;
    flex-direction:column;
    position:fixed;
    top:120px;left:0;right:0;
    background:#fff;
    padding:24px 6%;
    gap:0;
    border-bottom:1px solid var(--border);
    box-shadow:0 8px 32px rgba(0,0,0,0.1);
  }
  .nav-links.open li { border-bottom:1px solid var(--border); }
  .nav-links.open a { display:block; padding:14px 0; }
  .nav-links.open a.nav-cta { margin:12px 0 0; display:block; text-align:center; }
  .hamburger { display:flex; }
  .footer-inner { grid-template-columns:1fr 1fr; gap:36px; }
  .footer-brand { grid-column:1/-1; }
}

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