:root{
  /* Colores aproximados del logo (ajustamos fino si querés) */
  --ich-green: #0f6a3a;
  --ich-blue:  #1aa1c8;

  --bg: #0b1220;
  --bg-2:#0f1a2b;
  --text:#eaf0ff;
  --muted:#a9b6d3;
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.10);

  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 18px;

  --header-h: 78px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #070b14, var(--bg));
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 12, 22, .70);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header__inner{
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.brand__logo{
  height: 42px;
  width: auto;
  border-radius: 10px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: rgba(234,240,255,.92);
}

.nav a{
  opacity: .92;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  opacity: 1;
}

/* Botones */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(15,106,58,.95), rgba(26,161,200,.85));
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn--ghost{
  background: rgba(255,255,255,.06);
  box-shadow: none;
}

.btn--small{
  padding: 10px 14px;
}

/* Hero / Quienes somos */
.hero{
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;

  /* IMAGEN DE FONDO */
  background-image:
    linear-gradient(180deg, rgba(7,12,22,.68), rgba(7,12,22,.88)),
    url("img/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero__content{
  padding: 70px 0 64px;
}

.kicker{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  letter-spacing: .3px;
  margin: 0 0 14px;
}

.hero h1{
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
}

.lead{
  margin: 0 0 22px;
  max-width: 72ch;
  color: rgba(234,240,255,.90);
  font-size: 18px;
  line-height: 1.6;
}

.hero__bullets{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.pill{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(234,240,255,.92);
  font-weight: 650;
}

.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Secciones */
.section{
  padding: 76px 0;
}

.section--alt{
  background: linear-gradient(180deg, rgba(15,26,43,.45), rgba(15,26,43,0));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.section__head{
  margin-bottom: 22px;
  max-width: 80ch;
}

.section h2{
  margin: 0 0 8px;
  font-size: 32px;
}

.muted{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tiny{
  font-size: 12px;
  opacity: .9;
}

/* Grillas y cards */
.grid{
  display: grid;
  gap: 16px;
}

.grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card{
  padding: 18px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3{
  margin: 0 0 8px;
  font-size: 18px;
}

.card p{
  margin: 0;
  color: rgba(234,240,255,.86);
  line-height: 1.6;
}

.card--project{
  position: relative;
  overflow: hidden;
}
.card--project::before{
  content:"";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(15,106,58,.18), transparent 60%),
    radial-gradient(600px 240px at 100% 0%, rgba(26,161,200,.16), transparent 60%);
  pointer-events: none;
}

/* Tags */
.tags{
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.tag{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.tag--green{ box-shadow: inset 0 0 0 999px rgba(15,106,58,.10); }
.tag--blue{  box-shadow: inset 0 0 0 999px rgba(26,161,200,.10); }

/* Contacto */
.contact{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
}

.contact__card{
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.contact__meta{
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
  color: rgba(234,240,255,.88);
}

.contact__form{
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

label{
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input, textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7, 12, 22, .55);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

input:focus, textarea:focus{
  border-color: rgba(26,161,200,.55);
  box-shadow: 0 0 0 4px rgba(26,161,200,.12);
}

/* Footer */
.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  background: rgba(7, 12, 22, .55);
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(234,240,255,.80);
}

.to-top{
  color: rgba(234,240,255,.90);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

/* Responsive */
@media (max-width: 920px){
  .grid--3{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .nav{ gap: 10px; }
}
@media (max-width: 640px){
  .nav a{ display: none; }
  .nav .btn{ display: inline-flex; }
}
