/* GVCWEB — estilos base
   Paleta tomada del logo: azul marino "gvc", azul claro "web", rojo de los nodos de conexión. */

:root {
  --navy: #0a5c8c;
  --navy-dark: #063a58;
  --blue: #17a7e0;
  --red: #e2222c;
  --ink: #0f1720;
  --ink-soft: #3a4650;
  --paper: #ffffff;
  --mist: #f4f7fa;
  --line: #e3e9ee;

  --header-h: 76px;
  --container: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(6, 36, 56, 0.25);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--navy);
  border-color: var(--red);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: #c81a23; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: 9px 16px; font-size: 0.82rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile li { border-bottom: 1px solid var(--line); }
.nav-mobile a {
  display: block;
  padding: 18px 4px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.nav-mobile .btn { margin-top: 16px; width: 100%; justify-content: center; }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-cta .btn-primary { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #0c7fae 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(23, 167, 224, 0.35), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(226, 34, 44, 0.25), transparent 35%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero-inner { max-width: 680px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfe6f7;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #d7ebf5;
  margin: 0 0 32px;
  max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  margin-top: 64px;
  max-width: 560px;
}
.hero-stats .num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
}
.hero-stats .label {
  font-size: 0.82rem;
  color: #a9cfe0;
  margin-top: 2px;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.bg-mist { background: var(--mist); }
.bg-navy { background: var(--navy-dark); color: #fff; }
.bg-navy .section-head p { color: #c7dde8; }
.bg-navy .section-head h2 { color: #fff; }

/* Service cards */

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; stroke: #fff; }

.card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 750;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.card a.more {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card a.more:hover { color: var(--red); }

/* About split */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  color: var(--navy);
}

.panel-visual {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--navy-dark), var(--navy) 60%, var(--blue));
  padding: 48px 32px;
  color: #fff;
  overflow: hidden;
}
.panel-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(226,34,44,0.35), transparent 70%);
  bottom: -60px;
  right: -60px;
}
.panel-visual .year {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}
.panel-visual .year-label {
  font-size: 0.95rem;
  color: #bfe3f2;
  margin-top: 8px;
}
.panel-visual ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
  position: relative;
}
.panel-visual li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #e6f3f9;
}
.panel-visual li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* Values grid (sobre nosotros) */

.grid-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.value-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--mist);
  border: 1px solid var(--line);
}
.value-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--navy);
}
.value-card p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

/* Clients */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.clients-grid > div {
  background: #fff;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  font-weight: 800;
  color: #a9b4bd;
  font-size: 0.95rem;
  text-align: center;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.2s, filter 0.2s;
}
.clients-grid > div:hover { filter: none; opacity: 1; color: var(--navy); }

@media (max-width: 720px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}

/* CTA banner */

.cta-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
}
.cta-banner p { margin: 0; color: #c7dde8; max-width: 480px; }

/* Footer */

.site-footer {
  background: var(--ink);
  color: #c7ced4;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: 0.92rem; color: #c7ced4; }
.footer-grid a:hover { color: var(--blue); }
.footer-brand img { height: 32px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; color: #9aa3ab; max-width: 280px; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #262d33;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #7c848c;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #1a2027;
  color: #c7ced4;
}
.social-row a:hover { background: var(--blue); color: #fff; }

/* Breadcrumb/page hero (inner pages) */

.page-hero {
  background: var(--navy-dark);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 14px;
  font-weight: 800;
}
.page-hero p { color: #cfe4ee; max-width: 620px; font-size: 1.05rem; margin: 0; }

/* Forms */

.form-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #cdd6dc;
  background: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 167, 224, 0.18);
}

.contact-info {
  display: grid;
  gap: 24px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-item .icon {
  width: 44px; height: 44px; flex: none;
  border-radius: 10px;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
}
.info-item .icon svg { width: 20px; height: 20px; stroke: var(--navy); }
.info-item h4 { margin: 0 0 4px; font-size: 0.95rem; }
.info-item p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.info-item a { color: var(--navy); font-weight: 600; }
.info-item a:hover { color: var(--red); }

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 16px;
  line-height: 1.5;
}
.form-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fae63; flex: none; margin-top: 6px; }

/* Utility */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
