:root{
  /* Basado en el logo */
  --bg: #05070a;          /* negro/azul muy oscuro */
  --panel: #0b233a;       /* azul profundo */
  --neon: #4cc9ff;        /* celeste borde */
  --neon-soft: rgba(76, 201, 255, .25);
  --green: #25d39b;       /* verde "DRY" */
  --text: #e8f2ff;
  --muted: rgba(232, 242, 255, .75);
}

body{
  background: radial-gradient(1200px 600px at 50% -200px, rgba(76,201,255,.15), transparent 60%),
              radial-gradient(800px 500px at 80% 10%, rgba(37,211,155,.12), transparent 55%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.site-header{
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(11,35,58,.85), rgba(11,35,58,.55));
  backdrop-filter: blur(6px);
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* HEADER CENTRADO */

.header-inner{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
}

/* Logo a la izquierda */
.header-inner .brand-logo{
  z-index: 2;
}

/* Texto perfectamente centrado */
.header-center-text{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  
  font-weight: 600;
  letter-spacing: .3px;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(232,242,255,.85);
  text-transform: uppercase;
}

.header-center-text{
  user-select: none;
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Edge viejo */
}

.header-center-text{
  -webkit-user-drag: none;
}

.brand-logo{
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(76,201,255,.25));
}

.badge-construct{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(76,201,255,.35);
  box-shadow: 0 0 0 4px var(--neon-soft);
}

.header-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(37,211,155,.55);
}

/* MAIN */
main{ flex: 1; }

.hero-card{
  max-width: 980px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11,35,58,.65), rgba(11,35,58,.35));
  border: 1px solid rgba(76,201,255,.22);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.hero-img{
  width: 100%;
  height: auto;
  display: block;
}

/* FOOTER */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.25);
}

.footer-line{
  color: var(--muted);
  line-height: 1.6;
}

.ig-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(76,201,255,.25);
  background: rgba(255,255,255,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.ig-link i{
  font-size: 1.2rem;
  color: var(--neon);
}

.ig-link:hover{
  transform: translateY(-1px);
  border-color: rgba(76,201,255,.45);
  box-shadow: 0 0 0 4px var(--neon-soft);
}

.footer-bottom{
  color: rgba(232,242,255,.55);
  font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 12px;
}

/* HERO FULLSCREEN */

.hero-section{
  position: relative;
  min-height: calc(100vh - 140px); /* altura menos header/footer */
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Oscurece un poco para que se lea mejor */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(5,7,10,.6),
    rgba(5,7,10,.8)
  );
}

/* Contenido encima */
.hero-content{
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
}

.hero-content h1{
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

.hero-content p{
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,.85);
}

.hero-content{
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;

  -webkit-user-drag: none;
}

.hero-content a,
.hero-content button{
  user-select: auto;
}

.hero-section{
  position: relative;
  min-height: calc(100vh - 140px);
  background: url("../img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* textura de gotas transparente moviéndose */
.hero-section{
  position: relative;
  min-height: calc(100vh - 140px);
  background: url("../img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* Overlay animado de gotas */
.hero-section::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../img/droplets-overlay.png") center/cover no-repeat;
  opacity: .18;
  filter: blur(.3px);
  animation: dropletsDrift 18s linear infinite;
  mix-blend-mode: screen;
  pointer-events:none;
}

@keyframes dropletsDrift{
  0%   { transform: translate3d(0,0,0) scale(1.05); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.05); }
}

@media (prefers-reduced-motion: reduce){
  .hero-section::before{
    animation: none;
  }
}

/* Ajuste para móviles */
@media (max-width: 576px){

  .header-inner{
    flex-direction: column;
    gap: 6px;
    min-height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* Quitamos el centrado absoluto */
  .header-center-text{
    position: static;
    transform: none;
    text-align: center;
    font-size: .85rem;
    margin-top: 2px;
  }

}