/* =========================
   RESET & BASE
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================
   THEME
========================= */
:root {
  --bg-top: #0D1C2F;
  --bg-mid: #142A44;
  --bg-bot: #1B3B5C;
  --accent: #00C2D1;
  --accent-2: #22E3F0;
  --text-main: #FFFFFF;
  --text-soft: #B0C7E0;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
  --shadow: rgba(0,0,0,0.28);
}

/* =========================
   APP BACKGROUND
========================= */
body {
  min-height: 100vh;
  background: linear-gradient(
    to bottom,
    var(--bg-top) 0%,
    var(--bg-mid) 42%,
    var(--bg-bot) 100%
  );
  background-attachment: fixed;
}

/* =========================
   LINKS
========================= */
a {
  text-decoration: none;
  color: inherit;
  transition: color .25s ease, opacity .25s ease;
}
a:hover { color: var(--accent); }

/* =========================
   HEADER / HERO
========================= */
header {
  padding: 8px 20px 0; /* pegado arriba */
  text-align: center;
  background: transparent;
}
.logo {
  height: 180px;  /* grande en desktop */
  width: auto;
  display: block;
  margin: 4px auto 16px; /* muy poca separación superior */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

.hero {
  padding: 40px 40px 80px; /* compacto arriba, aire abajo */
  text-align: center;
  background: transparent;
}
.hero h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-main);
  letter-spacing: .2px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 26px;
  color: var(--text-soft);
}

/* =========================
   BUTTONS
========================= */
.btn,
.hero button,
button[type="submit"],
.gracias a {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06202f;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0,194,209,.25);
  display: inline-block;
}
.btn:hover,
.hero button:hover,
button[type="submit"]:hover,
.gracias a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,194,209,.35);
  filter: saturate(1.05);
}
.btn:active { transform: translateY(-1px); }

/* Variante contorno si la necesitas en el futuro */
.btn.outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--accent);
}
.btn.outline:hover { background: rgba(0,194,209,.10); }

/* =========================
   SERVICES
========================= */
.services {
  padding: 80px 40px;
  background: transparent;
}
.services h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 28px;
  color: var(--accent);
}
.service-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 26px;
  border-radius: 16px;
  max-width: 360px;
  width: 100%;
  text-align: left; /* más profesional para listas */
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 12px 28px var(--shadow);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,194,209,.35);
  box-shadow: 0 16px 36px rgba(0,0,0,.38);
}
.service-card h4 {
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 1.15rem;
}
.service-card p { color: var(--text-soft); }
.service-card ul {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.55;
}
.service-card ul li { margin: 4px 0; list-style: none;}
.service-card h4{text-align: center;}
/* =========================
   CONTACT
========================= */
.contact {
  padding: 80px 40px;
  background: transparent;
}
.contact h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--accent);
}
form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
input, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  font-size: 1rem;
  width: 100%;
  background: rgba(13,28,47,0.45);
  color: var(--text-main);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .08s ease;
}
input::placeholder, textarea::placeholder { color: var(--text-soft); }
input:focus, textarea:focus {
  border-color: rgba(0,194,209,.55);
  box-shadow: 0 0 0 4px rgba(0,194,209,.15);
}

/* =========================
   FOOTER (iconos sin texto)
========================= */
footer {
  padding: 34px 20px;
  text-align: center;
  background: transparent;
  color: var(--text-soft);
  border-top: 1px solid rgba(255,255,255,.07);
}
footer p { opacity: .9; }
footer .social-icons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
footer .social-icons a {
  color: var(--accent);
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0,194,209,.10);
  border: 1px solid rgba(0,194,209,.25);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
footer .social-icons a:hover {
  transform: translateY(-3px) scale(1.08);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
  color: #ffffff; /* cambia el color del SVG */
}
footer .social-icons a svg {
  transition: transform .25s ease, color .25s ease;
}
footer .social-icons a:hover svg { transform: scale(1.08); }

/* =========================
   ANIMATIONS (scroll-in)
========================= */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s ease-out;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .logo { height: 160px; margin: 2px auto 12px; }
}
@media (max-width: 768px) {
  .logo { height: 120px; margin: 2px auto 12px; }
  header { padding: 6px 16px 0; }
  .hero { padding: 36px 24px 56px; }
  .hero p { padding: 0 6px; }
  .services, .contact { padding: 64px 24px; }
  .service-container { flex-direction: column; align-items: center; gap: 18px; }
}
