/* =============================
   SinergiaLabs - styles.css
   Colores: Magenta #DB0A5B, Gris #212322, Aqua #00AD9F
   Tipografía: Montserrat
   ============================= */

/* -----------------------------
   Variables & Reset
------------------------------ */
:root{
  --magenta: #DB0A5B;
  --gray-900: #212322;
  --aqua: #00AD9F;
  --white: #FFFFFF;
  --text: #EDEDED;
  --text-dim: #CFCFCF;
  --surface: #2A2C2B;
  --surface-2: #1A1C1B;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1100px;
}

*{ box-sizing: border-box; }
html, body{
  padding: 0; margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  color-scheme: dark;
}

img{ max-width: 100%; display: block; }

/* -----------------------------
   Background (inmóvil)
------------------------------ */
.bg{
  min-height: 100vh;
  background: linear-gradient(135deg, #601A36 0%, var(--magenta) 35%, #601A36 65%, var(--gray-900) 100%);
  background-attachment: fixed; /* inmóvil */
  background-size: cover;
  color: var(--text);
}

/* -----------------------------
   Layout helpers
------------------------------ */
.container-hero,
.container-servicios,
.content-block,
.form-section{
  width: 100%;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.section-inner{
  max-width: var(--maxw);
  margin: 0 auto;
}

/* -----------------------------
   Nav
------------------------------ */
/* Header sticky + transparente con blur */
  header{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent; /* totalmente transparente */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  /* Menú centrado con 3 columnas: [Nosotros][Logo][Deeptech] */
  .nav-center{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
  }
  /* Cada ítem centrado en su columna */
  .nav-center a:nth-child(1){ justify-self: center; }
  .nav-center a:nth-child(2){ justify-self: center; }
  .nav-center a:nth-child(3){ justify-self: center; }

  /* Efecto hover/focus: leve sombra + scale 1.1 (sin cambio de color) */
  .nav-logo img{
    height: 28px;
    width: auto;
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform;
  }
  .nav-logo img:hover,
  .nav-logo img:focus-visible{
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    outline: none;
  }
  .nav-logo img:active{
    transform: scale(1.0);
    box-shadow: none;
  }

  .nav-link{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 8px;
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform;
  }
  .nav-link:hover,
  .nav-link:focus-visible{
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    outline: none;
  }
  .nav-link:active{
    transform: scale(1.0);
    box-shadow: none;
  }

  @media (prefers-reduced-motion: reduce){
    .nav-link, .nav-logo img{ transition: none; }
  }

/* -----------------------------
   Hero
------------------------------ */
.container-hero{
  padding-top: clamp(56px, 6vw, 80px);
  padding-bottom: clamp(56px, 8vw, 120px);
}
.hero{
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.hero h1{
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px 0;
  font-weight: 700;
}
#hero-dynamic-text{
  display: inline-block;
  margin-left: .35em;
  color: var(--aqua);
  transition: opacity .3s ease;
}
.hero p{
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text-dim);
  margin: 0 auto 24px auto;
  max-width: 700px;
}
.cta{
  display: inline-block;
  background: linear-gradient(135deg, var(--magenta), #FF4B8A);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}
.cta:hover,
.cta:focus-visible{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(219,10,91,.35);
  outline: none;
}

/* -----------------------------
   Opciones de servicio
------------------------------ */
.container-servicios{
  padding-top: 10px;
  padding-bottom: 24px;
}

.options{
  max-width: var(--maxw);
  margin: 0 auto 16px auto;
  text-align: center;
}
.options h2{
  font-size: clamp(22px, 3.6vw, 32px);
  margin: 0 0 8px 0;
}
.options p{
  color: var(--text-dim);
  margin: 0 auto 18px auto;
  max-width: 820px;
}

.option-btn{
  border: 0;
  padding: 12px 16px;
  border-radius: 999px;
  margin: 6px;
  font-weight: 700;
  cursor: pointer;
  color: var(--white);
  background: var(--surface);
  outline: 2px solid transparent;
  transition: transform .1s ease, outline-color .15s ease, background .15s ease;
}
.option-btn.blue{ background: linear-gradient(135deg, #0A7CBD, #00AD9F); }
.option-btn.magenta{ background: linear-gradient(135deg, #B70049, var(--magenta)); }

.option-btn:hover,
.option-btn:focus-visible{
  transform: translateY(-1px);
  outline-color: rgba(255,255,255,.2);
}

/* -----------------------------
   Bloques de contenido
------------------------------ */
.content-block{
  max-width: var(--maxw);
  margin: 16px auto 24px auto;
  background: rgba(33,35,34,.6);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 28px);
}

.content-block h2{
  margin-top: 0;
  font-size: clamp(20px, 3.2vw, 28px);
}

.content-block ul{
  margin: 12px 0;
  padding-left: 18px;
  line-height: 1.55;
}
.content-block li{
  margin-bottom: 10px;
}

.content-block span.badge{
  display: inline-block;
  font-size: .9rem;
  padding: .4rem 1rem;
  border-radius: 20px;
  color: #fff;
}

/* -----------------------------
   Deeptech sección simple
------------------------------ */
#deeptech p{
  color: var(--text-dim);
}

/* -----------------------------
   Iframe (Airtable) responsive
------------------------------ */
.iframe-wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  background: rgba(26,28,27,.6);
}
.form-section iframe{
  width: 100%;
  height: clamp(520px, 70vh, 860px);
  border: 0;
}

/* -----------------------------
   Footer
------------------------------ */
footer{
  margin-top: 36px;
  padding: 24px;
  background: rgba(26,28,27,.55);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
footer p{
  margin: 6px 0;
  color: var(--text-dim);
}
footer a{
  color: var(--text);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: color .15s ease, border-color .15s ease;
}
footer a:hover,
footer a:focus-visible{
  color: var(--aqua);
  border-color: var(--aqua);
  outline: none;
}

/* -----------------------------
   Utilities
------------------------------ */
.badge-aqua{ background-color: var(--aqua); }
.badge-magenta{ background-color: var(--magenta); }

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 780px){
  .nav-center{
    grid-template-columns: 1fr auto 1fr;
    padding: 12px 16px;
  }
  .nav-link{
    font-weight: 600;
    font-size: 14px;
  }
  .logo-dark{ height: 24px; }
  .content-block{
    padding: 16px;
  }
  .option-btn{
    width: calc(100% - 12px);
    max-width: 520px;
  }
}
